[FFmpeg-cvslog] Fix typo in v210 decoder options.

Carl Eugen Hoyos git at videolan.org
Fri Dec 16 01:05:41 CET 2011


ffmpeg | branch: master | Carl Eugen Hoyos <cehoyos at ag.or.at> | Fri Dec 16 01:04:43 2011 +0100| [56669837ce18d15d757a144712a082b9cb535c94] | committer: Carl Eugen Hoyos

Fix typo in v210 decoder options.

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

 libavcodec/v210dec.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/libavcodec/v210dec.c b/libavcodec/v210dec.c
index 68dbd37..147f1f2 100644
--- a/libavcodec/v210dec.c
+++ b/libavcodec/v210dec.c
@@ -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},



More information about the ffmpeg-cvslog mailing list