From be0b37c649d19ee21c024b11f53bcc39674fca3b Mon Sep 17 00:00:00 2001
From: Stefano Sabatini <stefasab@gmail.com>
Date: Wed, 31 Oct 2012 14:17:34 +0100
Subject: [PATCH] lavf/avienc: fix/extend error message, in case of too large
 number of skipped frames

---
 libavformat/avienc.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavformat/avienc.c b/libavformat/avienc.c
index dd33610cff5..ce5f85d581b 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);
         }
 
-- 
GitLab