crystalhd: fix missing braces warning
authorMichael Niedermayer <michaelni@gmx.at>
Sat, 3 Nov 2012 19:21:57 +0000 (20:21 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Sat, 3 Nov 2012 19:22:53 +0000 (20:22 +0100)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/crystalhd.c

index 334337e..bf846d3 100644 (file)
@@ -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, },
 };