[FFmpeg-cvslog] Fix type of default value for v210 decoder option -custom_stride.

Carl Eugen Hoyos git at videolan.org
Sat Nov 24 16:10:16 CET 2012


ffmpeg | branch: master | Carl Eugen Hoyos <cehoyos at ag.or.at> | Sat Nov 24 16:09:07 2012 +0100| [387f50606c53a69167fd07053674d412514e910d] | committer: Carl Eugen Hoyos

Fix type of default value for v210 decoder option -custom_stride.

Reviewed-by: Paul B Mahol

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

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

diff --git a/libavcodec/v210dec.c b/libavcodec/v210dec.c
index 103e136..d508ce8 100644
--- a/libavcodec/v210dec.c
+++ b/libavcodec/v210dec.c
@@ -172,7 +172,7 @@ static av_cold int decode_close(AVCodecContext *avctx)
 #define V210DEC_FLAGS AV_OPT_FLAG_DECODING_PARAM | AV_OPT_FLAG_VIDEO_PARAM
 static const AVOption v210dec_options[] = {
     {"custom_stride", "Custom V210 stride", offsetof(V210DecContext, custom_stride), FF_OPT_TYPE_INT,
-     {.dbl = 0}, INT_MIN, INT_MAX, V210DEC_FLAGS},
+     {.i64 = 0}, INT_MIN, INT_MAX, V210DEC_FLAGS},
     {NULL}
 };
 



More information about the ffmpeg-cvslog mailing list