aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/roqvideoenc.c
diff options
context:
space:
mode:
authorClément Bœsch <u@pkh.me>2015-09-11 21:17:57 +0200
committerClément Bœsch <clement@stupeflix.com>2015-09-12 18:24:49 +0200
commit7434b9f66f42fda88a8eb988831cfc0c6d942f8e (patch)
tree55d992e426ba6c06dc114b861514f52c3e176b25 /libavcodec/roqvideoenc.c
parent1e2c23f06c9c66c3063af70c1f32a893db084c3a (diff)
downloadandroid_external_ffmpeg-7434b9f66f42fda88a8eb988831cfc0c6d942f8e.tar.gz
android_external_ffmpeg-7434b9f66f42fda88a8eb988831cfc0c6d942f8e.tar.bz2
android_external_ffmpeg-7434b9f66f42fda88a8eb988831cfc0c6d942f8e.zip
avcodec/roqvideoenc: use AV_OPT_TYPE_BOOL for quake3_compat option
Diffstat (limited to 'libavcodec/roqvideoenc.c')
-rw-r--r--libavcodec/roqvideoenc.c2
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 },
};