libopusenc: prevent an out-of-bounds read by returning early
authorVittorio Giovara <vittorio.giovara@gmail.com>
Tue, 11 Nov 2014 12:26:55 +0000 (13:26 +0100)
committerLuca Barbato <lu_zero@gentoo.org>
Mon, 12 Jan 2015 23:16:42 +0000 (00:16 +0100)
commit431f57f0467244686ae63a3d06a8cf51f60090ed
tree7029b1a5ee665c2a4baed272238a0dd9b185d026
parent88411b87b4bb3c5820ec232f26ba4a284c11a7f9
libopusenc: prevent an out-of-bounds read by returning early

CC: libav-stable@libav.org
Bug-Id: CID 1244188
(cherry picked from commit 8dd0a2c5cf40a8a49faae985adc11750b6429132)
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
libavcodec/libopusenc.c