summaryrefslogtreecommitdiffstats
path: root/libavformat/iff.c
diff options
context:
space:
mode:
authorClément Bœsch <ubitux@gmail.com>2011-05-29 21:02:20 +0200
committerClément Bœsch <ubitux@gmail.com>2011-06-02 10:36:56 +0200
commitb443447536116f2843097f26a693478c66dcbe02 (patch)
tree95ed7e22367a636315cddf1b5ab2d7310956520e /libavformat/iff.c
parent58fd70b04decdb7e5580c06b1be3bd573fabeeda (diff)
downloadffmpeg-streaming-b443447536116f2843097f26a693478c66dcbe02.zip
ffmpeg-streaming-b443447536116f2843097f26a693478c66dcbe02.tar.gz
Fix various uninitialized variable warnings
Diffstat (limited to 'libavformat/iff.c')
-rw-r--r--libavformat/iff.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libavformat/iff.c b/libavformat/iff.c
index 2dd1ef7..a0a4374 100644
--- a/libavformat/iff.c
+++ b/libavformat/iff.c
@@ -326,6 +326,8 @@ static int iff_read_packet(AVFormatContext *s,
buf = pkt->data;
bytestream_put_be16(&buf, 2);
ret = avio_read(pb, buf, iff->body_size);
+ } else {
+ av_abort();
}
if(iff->sent_bytes == 0)
OpenPOWER on IntegriCloud