mirror of
https://github.com/nyanmisaka/ffmpeg-rockchip.git
synced 2025-10-11 11:40:42 +08:00
lavf/avienc: fix/extend error message, in case of too large number of skipped frames
This commit is contained in:
@@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user