aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorClément Bœsch <ubitux@gmail.com>2013-03-19 21:25:49 +0100
committerClément Bœsch <ubitux@gmail.com>2013-03-19 21:26:24 +0100
commitd4982b115dcd02f10504c2170b99af867a5c7261 (patch)
treea2e275ece134a8e98fea9000fb7e15e6cfff6ea3
parent17c1881d5823acae349f4df3306358536aab5b7f (diff)
downloadffmpeg-d4982b115dcd02f10504c2170b99af867a5c7261.tar.gz
lavd/dshow: fix style and typo recently introduced.
-rw-r--r--libavdevice/dshow.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libavdevice/dshow.c b/libavdevice/dshow.c
index 4991414e6b..8cc12f5fb8 100644
--- a/libavdevice/dshow.c
+++ b/libavdevice/dshow.c
@@ -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);