diff options
author | Clément Bœsch <ubitux@gmail.com> | 2011-05-29 21:02:20 +0200 |
---|---|---|
committer | Clément Bœsch <ubitux@gmail.com> | 2011-06-02 10:36:56 +0200 |
commit | b443447536116f2843097f26a693478c66dcbe02 (patch) | |
tree | 95ed7e22367a636315cddf1b5ab2d7310956520e /libavformat/iff.c | |
parent | 58fd70b04decdb7e5580c06b1be3bd573fabeeda (diff) | |
download | ffmpeg-b443447536116f2843097f26a693478c66dcbe02.tar.gz |
Fix various uninitialized variable warnings
Diffstat (limited to 'libavformat/iff.c')
-rw-r--r-- | libavformat/iff.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libavformat/iff.c b/libavformat/iff.c index 2dd1ef7553..a0a43742dd 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) |