X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavformat%2Fimg2dec.c;h=1b0e6080134af2cf275f7aa849e3ead3b44ef3bc;hb=902862bb4be4492c040b7e3b6d657ebb4b36bbc7;hp=8dfb8138ad374b608c7f854dd79e3ba63e93e68b;hpb=014fb816d104fef876f7044c0f6876e890c93c0a;p=ffmpeg diff --git a/libavformat/img2dec.c b/libavformat/img2dec.c index 8dfb8138ad3..1b0e6080134 100644 --- a/libavformat/img2dec.c +++ b/libavformat/img2dec.c @@ -561,7 +561,7 @@ static int img_read_seek(AVFormatContext *s, int stream_index, int64_t timestamp #define OFFSET(x) offsetof(VideoDemuxData, x) #define DEC AV_OPT_FLAG_DECODING_PARAM const AVOption ff_img_options[] = { - { "framerate", "set the video framerate", OFFSET(framerate), AV_OPT_TYPE_VIDEO_RATE, {.str = "25"}, 0, 0, DEC }, + { "framerate", "set the video framerate", OFFSET(framerate), AV_OPT_TYPE_VIDEO_RATE, {.str = "25"}, 0, INT_MAX, DEC }, { "loop", "force loop over input file sequence", OFFSET(loop), AV_OPT_TYPE_BOOL, {.i64 = 0 }, 0, 1, DEC }, { "pattern_type", "set pattern type", OFFSET(pattern_type), AV_OPT_TYPE_INT, {.i64=PT_DEFAULT}, 0, INT_MAX, DEC, "pattern_type"},