ffmpeg | branch: master | foo86 <fooba...@gmail.com> | Tue Jun 27 12:59:15 2017 +0300| [f8b1a70412b592dff774e306fd63963369ea6810] | committer: James Almer
avcodec/s302m: fix AVOption flags Reviewed-by: Paul B Mahol <one...@gmail.com> Signed-off-by: James Almer <jamr...@gmail.com> > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=f8b1a70412b592dff774e306fd63963369ea6810 --- libavcodec/s302m.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/s302m.c b/libavcodec/s302m.c index a68ac79f2c..4350d97f0a 100644 --- a/libavcodec/s302m.c +++ b/libavcodec/s302m.c @@ -201,7 +201,7 @@ static int s302m_decode_frame(AVCodecContext *avctx, void *data, return avpkt->size; } -#define FLAGS AV_OPT_FLAG_VIDEO_PARAM|AV_OPT_FLAG_DECODING_PARAM +#define FLAGS AV_OPT_FLAG_AUDIO_PARAM|AV_OPT_FLAG_DECODING_PARAM static const AVOption s302m_options[] = { {"non_pcm_mode", "Chooses what to do with NON-PCM", offsetof(S302Context, non_pcm_mode), AV_OPT_TYPE_INT, {.i64 = 3}, 0, 3, FLAGS, "non_pcm_mode"}, {"copy" , "Pass NON-PCM through unchanged" , 0, AV_OPT_TYPE_CONST, {.i64 = 0}, 0, 3, FLAGS, "non_pcm_mode"}, _______________________________________________ ffmpeg-cvslog mailing list ffmpeg-cvslog@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog