OSDN Git Service

lavd/dshow: fix style and typo recently introduced.
authorClément Bœsch <ubitux@gmail.com>
Tue, 19 Mar 2013 20:25:49 +0000 (21:25 +0100)
committerClément Bœsch <ubitux@gmail.com>
Tue, 19 Mar 2013 20:26:24 +0000 (21:26 +0100)
libavdevice/dshow.c

index 4991414..8cc12f5 100644 (file)
@@ -774,9 +774,9 @@ dshow_add_device(AVFormatContext *avctx,
         codec->width      = bih->biWidth;
         codec->height     = bih->biHeight;
         codec->pix_fmt    = dshow_pixfmt(bih->biCompression, bih->biBitCount);
-        if(bih->biCompression == MKTAG('H', 'D', 'Y', 'C')) {
-          av_log(avctx, AV_LOG_DEBUG, "attempt use full range for HDYC...");
-          codec->color_range = AVCOL_RANGE_MPEG; // just in case it needs this...
+        if (bih->biCompression == MKTAG('H', 'D', 'Y', 'C')) {
+            av_log(avctx, AV_LOG_DEBUG, "attempt to use full range for HDYC...\n");
+            codec->color_range = AVCOL_RANGE_MPEG; // just in case it needs this...
         }
         if (codec->pix_fmt == AV_PIX_FMT_NONE) {
             codec->codec_id = ff_codec_get_id(avformat_get_riff_video_tags(), bih->biCompression);