diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2004-10-01 13:16:16 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2004-10-01 13:16:16 +0000 |
commit | 71c32f19b346f565c23d282f327e84a6af39edc7 (patch) | |
tree | aeed385c079434edbc9e985ae60bf68538d468cd /libavformat/yuv4mpeg.c | |
parent | 9fe5a7b83107051812a00eaebb01db11d7378980 (diff) | |
download | ffmpeg-71c32f19b346f565c23d282f327e84a6af39edc7.tar.gz |
do not call (av_)abort()
Originally committed as revision 3544 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/yuv4mpeg.c')
-rw-r--r-- | libavformat/yuv4mpeg.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/yuv4mpeg.c b/libavformat/yuv4mpeg.c index 182536c4f7..6ebe185b64 100644 --- a/libavformat/yuv4mpeg.c +++ b/libavformat/yuv4mpeg.c @@ -214,7 +214,7 @@ static int yuv4_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; |