summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarton Balint <cus@passwd.hu>2016-10-13 23:58:53 +0200
committerMarton Balint <cus@passwd.hu>2016-10-21 20:24:12 +0200
commitdfc561a38e94b11bcc8e76f68f290fa85176f58b (patch)
treee946484c0af242f2b653ab54dabe86814edc7759
parent2f3015c25aaecf0307a82e38099c04b783223013 (diff)
downloadffmpeg-streaming-dfc561a38e94b11bcc8e76f68f290fa85176f58b.zip
ffmpeg-streaming-dfc561a38e94b11bcc8e76f68f290fa85176f58b.tar.gz
lavd/decklink_dec: fix indentation
Signed-off-by: Marton Balint <cus@passwd.hu>
-rw-r--r--libavdevice/decklink_dec.cpp22
1 files changed, 11 insertions, 11 deletions
diff --git a/libavdevice/decklink_dec.cpp b/libavdevice/decklink_dec.cpp
index 5318bbe..c98c51f 100644
--- a/libavdevice/decklink_dec.cpp
+++ b/libavdevice/decklink_dec.cpp
@@ -310,17 +310,17 @@ HRESULT decklink_input_callback::VideoInputFrameArrived(
if (videoFrame->GetFlags() & bmdFrameHasNoInputSource) {
if (ctx->draw_bars && videoFrame->GetPixelFormat() == bmdFormat8BitYUV) {
- unsigned bars[8] = {
- 0xEA80EA80, 0xD292D210, 0xA910A9A5, 0x90229035,
- 0x6ADD6ACA, 0x51EF515A, 0x286D28EF, 0x10801080 };
- int width = videoFrame->GetWidth();
- int height = videoFrame->GetHeight();
- unsigned *p = (unsigned *)frameBytes;
-
- for (int y = 0; y < height; y++) {
- for (int x = 0; x < width; x += 2)
- *p++ = bars[(x * 8) / width];
- }
+ unsigned bars[8] = {
+ 0xEA80EA80, 0xD292D210, 0xA910A9A5, 0x90229035,
+ 0x6ADD6ACA, 0x51EF515A, 0x286D28EF, 0x10801080 };
+ int width = videoFrame->GetWidth();
+ int height = videoFrame->GetHeight();
+ unsigned *p = (unsigned *)frameBytes;
+
+ for (int y = 0; y < height; y++) {
+ for (int x = 0; x < width; x += 2)
+ *p++ = bars[(x * 8) / width];
+ }
}
if (!no_video) {
OpenPOWER on IntegriCloud