1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-11-26 19:01:44 +02:00

apng: Fix wrong default final frame delay in muxer

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
This commit is contained in:
Donny Yang 2015-07-13 08:17:42 +00:00 committed by Michael Niedermayer
parent cbd4a1dbde
commit 99b0cadd13

View File

@ -173,7 +173,7 @@ static void flush_packet(AVFormatContext *format_context, AVPacket *packet)
"Frame rate is too high or specified too precisely. Unable to copy losslessly.\n"); "Frame rate is too high or specified too precisely. Unable to copy losslessly.\n");
apng->framerate_warned = 1; apng->framerate_warned = 1;
} }
} else if (apng->last_delay.den > 0) { } else if (apng->last_delay.num > 0) {
delay = apng->last_delay; delay = apng->last_delay;
} else { } else {
delay = apng->prev_delay; delay = apng->prev_delay;