[FFmpeg-devel] [PATCH] lavf/avienc: fix/extend error message, in case of too large number of skipped frames

Stefano Sabatini stefasab at gmail.com
Wed Oct 31 14:18:25 CET 2012


---
 libavformat/avienc.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/libavformat/avienc.c b/libavformat/avienc.c
index 5e74c91..20010dc 100644
--- a/libavformat/avienc.c
+++ b/libavformat/avienc.c
@@ -513,7 +513,7 @@ static int avi_write_packet(AVFormatContext *s, AVPacket *pkt)
         AVPacket empty_packet;
 
         if(pkt->dts - avist->packet_count > 60000){
-            av_log(s, AV_LOG_ERROR, "Too large number of skiped frames %"PRId64"\n", pkt->dts - avist->packet_count);
+            av_log(s, AV_LOG_ERROR, "Too large number of skipped frames %"PRId64" > 60000\n", pkt->dts - avist->packet_count);
             return AVERROR(EINVAL);
         }
 
-- 
1.7.5.4



More information about the ffmpeg-devel mailing list