ffmpeg | branch: master | Clément Bœsch <[email protected]> | Fri Sep 11 21:17:57 2015 +0200| [7434b9f66f42fda88a8eb988831cfc0c6d942f8e] | committer: Clément Bœsch
avcodec/roqvideoenc: use AV_OPT_TYPE_BOOL for quake3_compat option > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=7434b9f66f42fda88a8eb988831cfc0c6d942f8e --- libavcodec/roqvideoenc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/roqvideoenc.c b/libavcodec/roqvideoenc.c index 72fc2d7..b6ed1f9 100644 --- a/libavcodec/roqvideoenc.c +++ b/libavcodec/roqvideoenc.c @@ -1127,7 +1127,7 @@ static int roq_encode_frame(AVCodecContext *avctx, AVPacket *pkt, #define OFFSET(x) offsetof(RoqContext, x) #define VE AV_OPT_FLAG_VIDEO_PARAM | AV_OPT_FLAG_ENCODING_PARAM static const AVOption options[] = { - { "quake3_compat", "Whether to respect known limitations in Quake 3 decoder", OFFSET(quake3_compat), AV_OPT_TYPE_INT, { .i64 = 1 }, 0, 1, VE }, + { "quake3_compat", "Whether to respect known limitations in Quake 3 decoder", OFFSET(quake3_compat), AV_OPT_TYPE_BOOL, { .i64 = 1 }, 0, 1, VE }, { NULL }, }; _______________________________________________ ffmpeg-cvslog mailing list [email protected] http://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog
