apng: Fix wrong default final frame delay in muxer

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
pull/140/head
Donny Yang 9 years ago committed by Michael Niedermayer
parent cbd4a1dbde
commit 99b0cadd13
  1. 2
      libavformat/apngenc.c

@ -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…
Cancel
Save