From 7facadb0bbfaf296164859cd5c70c8ed3a562451 Mon Sep 17 00:00:00 2001 From: Panagiotis Issaris Date: Wed, 13 Sep 2006 09:28:48 +0000 Subject: [PATCH] corrects the type of the AVOption parameter "bugs", patch by Takis Original thread: Date: Sep 11, 2006 1:43 PM Subject: [Ffmpeg-devel] [PATCH] Wrong AVOption type Originally committed as revision 6244 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/utils.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/utils.c b/libavcodec/utils.c index 7e1f9de65c..d2c09ca93e 100644 --- a/libavcodec/utils.c +++ b/libavcodec/utils.c @@ -524,7 +524,7 @@ static const AVOption options[]={ {"misc_bits", NULL, OFFSET(misc_bits), FF_OPT_TYPE_INT, DEFAULT, INT_MIN, INT_MAX}, {"frame_bits", NULL, OFFSET(frame_bits), FF_OPT_TYPE_INT, DEFAULT, INT_MIN, INT_MAX}, {"codec_tag", NULL, OFFSET(codec_tag), FF_OPT_TYPE_INT, DEFAULT, INT_MIN, INT_MAX}, -{"bugs", "workaround not auto detected encoder bugs", OFFSET(workaround_bugs), FF_OPT_TYPE_INT, FF_BUG_AUTODETECT, INT_MIN, INT_MAX, V|D, "bug"}, +{"bugs", "workaround not auto detected encoder bugs", OFFSET(workaround_bugs), FF_OPT_TYPE_FLAGS, FF_BUG_AUTODETECT, INT_MIN, INT_MAX, V|D, "bug"}, {"autodetect", NULL, 0, FF_OPT_TYPE_CONST, FF_BUG_AUTODETECT, INT_MIN, INT_MAX, V|D, "bug"}, {"old_msmpeg4", NULL, 0, FF_OPT_TYPE_CONST, FF_BUG_OLD_MSMPEG4, INT_MIN, INT_MAX, V|D, "bug"}, {"xvid_ilace", NULL, 0, FF_OPT_TYPE_CONST, FF_BUG_XVID_ILACE, INT_MIN, INT_MAX, V|D, "bug"},