mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-12-12 01:40:04 +01:00
do not call (av_)abort()
Originally committed as revision 3544 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
@@ -557,7 +557,7 @@ static int rawvideo_read_packet(AVFormatContext *s, AVPacket *pkt)
|
||||
|
||||
packet_size = avpicture_get_size(st->codec.pix_fmt, width, height);
|
||||
if (packet_size < 0)
|
||||
av_abort();
|
||||
return -1;
|
||||
|
||||
if (av_new_packet(pkt, packet_size) < 0)
|
||||
return AVERROR_IO;
|
||||
|
||||
Reference in New Issue
Block a user