Browse Source

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

tags/n1.1
Stefano Sabatini 12 years ago
parent
commit
be0b37c649
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavformat/avienc.c

+ 1
- 1
libavformat/avienc.c 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);
}



Loading…
Cancel
Save