[FFmpeg-cvslog] crystalhd: fix missing braces warning

Michael Niedermayer git at videolan.org
Sat Nov 3 20:26:19 CET 2012


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Sat Nov  3 20:21:57 2012 +0100| [930226cf52ad279accd356767269c87e79c31444] | committer: Michael Niedermayer

crystalhd: fix missing braces warning

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=930226cf52ad279accd356767269c87e79c31444
---

 libavcodec/crystalhd.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavcodec/crystalhd.c b/libavcodec/crystalhd.c
index 334337e..bf846d3 100644
--- a/libavcodec/crystalhd.c
+++ b/libavcodec/crystalhd.c
@@ -153,7 +153,7 @@ static const AVOption options[] = {
     { "crystalhd_downscale_width",
       "Turn on downscaling to the specified width",
       offsetof(CHDContext, sWidth),
-      AV_OPT_TYPE_INT, 0, 0, UINT32_MAX,
+      AV_OPT_TYPE_INT, {.i64 = 0}, 0, UINT32_MAX,
       AV_OPT_FLAG_VIDEO_PARAM | AV_OPT_FLAG_DECODING_PARAM, },
     { NULL, },
 };



More information about the ffmpeg-cvslog mailing list