diff options
author | Luca Barbato <lu_zero@gentoo.org> | 2013-04-20 13:36:44 +0200 |
---|---|---|
committer | Reinhard Tartler <siretart@tauware.de> | 2013-04-21 22:46:41 +0200 |
commit | c046890191628b607e479e4845d48acc9c879143 (patch) | |
tree | 52ed7989e556fd21348feb3b571c0603c1b52a6b /libavcodec/libopusenc.c | |
parent | d70bad04de8a9bc16188e766bd3b02fd35fa28af (diff) | |
download | ffmpeg-c046890191628b607e479e4845d48acc9c879143.tar.gz |
riff: check for eof if chunk size and code are 0
Prevent an infinite loop.
Inspired by a patch from Michael Niedermayer
CC: libav-stable@libav.org
Signed-off-by: Diego Biurrun <diego@biurrun.de>
(cherry picked from commit 8e329dba378cef0ff6400c7df9c51da167d5a1f0)
Signed-off-by: Reinhard Tartler <siretart@tauware.de>
Diffstat (limited to 'libavcodec/libopusenc.c')
0 files changed, 0 insertions, 0 deletions