diff options
author | Clément Bœsch <u@pkh.me> | 2015-09-11 21:17:57 +0200 |
---|---|---|
committer | Clément Bœsch <clement@stupeflix.com> | 2015-09-12 18:24:49 +0200 |
commit | 7434b9f66f42fda88a8eb988831cfc0c6d942f8e (patch) | |
tree | 55d992e426ba6c06dc114b861514f52c3e176b25 | |
parent | 1e2c23f06c9c66c3063af70c1f32a893db084c3a (diff) | |
download | ffmpeg-7434b9f66f42fda88a8eb988831cfc0c6d942f8e.tar.gz |
avcodec/roqvideoenc: use AV_OPT_TYPE_BOOL for quake3_compat option
-rw-r--r-- | libavcodec/roqvideoenc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/roqvideoenc.c b/libavcodec/roqvideoenc.c index 72fc2d75ae..b6ed1f9835 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 }, }; |