aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCarl Eugen Hoyos <cehoyos@ag.or.at>2012-11-24 16:09:07 +0100
committerCarl Eugen Hoyos <cehoyos@ag.or.at>2012-11-24 16:09:07 +0100
commit387f50606c53a69167fd07053674d412514e910d (patch)
tree6e7c04a720e93b4b74907d6cb0728b868fd70c5e
parent081bf60ec6a377d53dda979b7e9cf812c4882dc1 (diff)
downloadffmpeg-387f50606c53a69167fd07053674d412514e910d.tar.gz
Fix type of default value for v210 decoder option -custom_stride.
Reviewed-by: Paul B Mahol
-rw-r--r--libavcodec/v210dec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/v210dec.c b/libavcodec/v210dec.c
index 103e136bfa..d508ce8ea0 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}
};