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

This commit is contained in:
Stefano Sabatini 2012-10-31 14:17:34 +01:00
parent f35d5f966f
commit be0b37c649

View file

@ -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);
}