diff options
Diffstat (limited to 'libavformat/raw.c')
-rw-r--r-- | libavformat/raw.c | 2 |
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; |