aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/raw.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2004-10-01 13:16:16 +0000
committerMichael Niedermayer <michaelni@gmx.at>2004-10-01 13:16:16 +0000
commit71c32f19b346f565c23d282f327e84a6af39edc7 (patch)
treeaeed385c079434edbc9e985ae60bf68538d468cd /libavformat/raw.c
parent9fe5a7b83107051812a00eaebb01db11d7378980 (diff)
downloadffmpeg-71c32f19b346f565c23d282f327e84a6af39edc7.tar.gz
do not call (av_)abort()
Originally committed as revision 3544 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/raw.c')
-rw-r--r--libavformat/raw.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/raw.c b/libavformat/raw.c
index 9c1bd929c9..dadc495766 100644
--- a/libavformat/raw.c
+++ b/libavformat/raw.c
@@ -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;