Commit be0b37c6 authored by Stefano Sabatini's avatar Stefano Sabatini

lavf/avienc: fix/extend error message, in case of too large number of skipped frames

parent f35d5f96
...@@ -513,7 +513,7 @@ static int avi_write_packet(AVFormatContext *s, AVPacket *pkt) ...@@ -513,7 +513,7 @@ static int avi_write_packet(AVFormatContext *s, AVPacket *pkt)
AVPacket empty_packet; AVPacket empty_packet;
if(pkt->dts - avist->packet_count > 60000){ 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); return AVERROR(EINVAL);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment