OSDN Git Service

Fix typo in v210 decoder options.
authorCarl Eugen Hoyos <cehoyos@ag.or.at>
Fri, 16 Dec 2011 00:04:43 +0000 (01:04 +0100)
committerCarl Eugen Hoyos <cehoyos@ag.or.at>
Fri, 16 Dec 2011 00:04:43 +0000 (01:04 +0100)
libavcodec/v210dec.c

index 68dbd37..147f1f2 100644 (file)
@@ -158,7 +158,7 @@ static av_cold int decode_close(AVCodecContext *avctx)
     return 0;
 }
 
-#define V210DEC_FLAGS AV_OPT_FLAG_ENCODING_PARAM | AV_OPT_FLAG_VIDEO_PARAM
+#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},