diff options
author | Clément Bœsch <clement@stupeflix.com> | 2015-11-21 22:05:07 +0100 |
---|---|---|
committer | Clément Bœsch <clement@stupeflix.com> | 2015-12-04 15:43:33 +0100 |
commit | 43ecec0f0386557ef6f80729ab985098fbee71e8 (patch) | |
tree | ea4239f3a3b424a2138bda1d6098920a1df94f35 /libavformat/apngdec.c | |
parent | 0e62b5d1ef1312adb2c4815fcd59c5bcd6dc4419 (diff) |
avformat: use AV_OPT_TYPE_BOOL in a bunch of places
Diffstat (limited to 'libavformat/apngdec.c')
-rw-r--r-- | libavformat/apngdec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/apngdec.c b/libavformat/apngdec.c index 84298aecfd..c6403a191d 100644 --- a/libavformat/apngdec.c +++ b/libavformat/apngdec.c @@ -419,7 +419,7 @@ static int apng_read_packet(AVFormatContext *s, AVPacket *pkt) static const AVOption options[] = { { "ignore_loop", "ignore loop setting" , offsetof(APNGDemuxContext, ignore_loop), - AV_OPT_TYPE_INT, { .i64 = 1 } , 0, 1 , AV_OPT_FLAG_DECODING_PARAM }, + AV_OPT_TYPE_BOOL, { .i64 = 1 } , 0, 1 , AV_OPT_FLAG_DECODING_PARAM }, { "max_fps" , "maximum framerate (0 is no limit)" , offsetof(APNGDemuxContext, max_fps), AV_OPT_TYPE_INT, { .i64 = DEFAULT_APNG_FPS }, 0, INT_MAX, AV_OPT_FLAG_DECODING_PARAM }, { "default_fps", "default framerate (0 is as fast as possible)", offsetof(APNGDemuxContext, default_fps), |