aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDonny Yang <work@kota.moe>2015-07-13 08:17:42 +0000
committerMichael Niedermayer <michael@niedermayer.cc>2015-07-15 22:52:06 +0200
commit99b0cadd1388181296e01091acfef20e0dbd33c6 (patch)
tree1786e4c37c698dc31c321e437f210ed328b0812e
parentcbd4a1dbdeda9178b6a59b06a04652ed5c06da19 (diff)
downloadffmpeg-99b0cadd1388181296e01091acfef20e0dbd33c6.tar.gz
apng: Fix wrong default final frame delay in muxer
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
-rw-r--r--libavformat/apngenc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/apngenc.c b/libavformat/apngenc.c
index dcf6b906e1..9b2c634b95 100644
--- a/libavformat/apngenc.c
+++ b/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;