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

Reviewed-by: Paul B Mahol
pull/8/head
Carl Eugen Hoyos 12 years ago
parent 081bf60ec6
commit 387f50606c
  1. 2
      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 #define V210DEC_FLAGS AV_OPT_FLAG_DECODING_PARAM | AV_OPT_FLAG_VIDEO_PARAM
static const AVOption v210dec_options[] = { static const AVOption v210dec_options[] = {
{"custom_stride", "Custom V210 stride", offsetof(V210DecContext, custom_stride), FF_OPT_TYPE_INT, {"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} {NULL}
}; };

Loading…
Cancel
Save