summaryrefslogtreecommitdiff
path: root/libavformat/apngdec.c
diff options
context:
space:
mode:
authorJames Almer <jamrial@gmail.com>2017-03-20 22:55:11 -0300
committerJames Almer <jamrial@gmail.com>2017-03-21 19:15:19 -0300
commit7bfbb7229971a5220fed07bb931e6ff1030a319a (patch)
tree6b31a30d34f3bd960ced0bcbb7d0bff7ac5f97b3 /libavformat/apngdec.c
parent874eb012f75bc18bb6d79ad4bc0912afa21751f3 (diff)
downloadffmpeg-7bfbb7229971a5220fed07bb931e6ff1030a319a.tar.gz
avformat/apng: set max_fps to no limit by default
Should fix ticket #6252 Reviewed-by: Michael Niedermayer <michael@niedermayer.cc> Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'libavformat/apngdec.c')
-rw-r--r--libavformat/apngdec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/apngdec.c b/libavformat/apngdec.c
index 7a284e32c2..75dcf74a0c 100644
--- a/libavformat/apngdec.c
+++ b/libavformat/apngdec.c
@@ -421,7 +421,7 @@ static const AVOption options[] = {
{ "ignore_loop", "ignore loop setting" , offsetof(APNGDemuxContext, ignore_loop),
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 },
+ AV_OPT_TYPE_INT, { .i64 = 0 }, 0, INT_MAX, AV_OPT_FLAG_DECODING_PARAM },
{ "default_fps", "default framerate (0 is as fast as possible)", offsetof(APNGDemuxContext, default_fps),
AV_OPT_TYPE_INT, { .i64 = DEFAULT_APNG_FPS }, 0, INT_MAX, AV_OPT_FLAG_DECODING_PARAM },
{ NULL },