mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-11-21 10:55:51 +02:00
apng: Fix wrong default final frame delay in muxer
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
This commit is contained in:
parent
cbd4a1dbde
commit
99b0cadd13
@ -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");
|
||||
apng->framerate_warned = 1;
|
||||
}
|
||||
} else if (apng->last_delay.den > 0) {
|
||||
} else if (apng->last_delay.num > 0) {
|
||||
delay = apng->last_delay;
|
||||
} else {
|
||||
delay = apng->prev_delay;
|
||||
|
Loading…
Reference in New Issue
Block a user