diff options
author | Chris Cunningham <chcunningham@chromium.org> | 2016-05-09 15:27:29 -0700 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2016-06-05 02:40:30 +0200 |
commit | 069eea16d975643bee6a42643c9bac54f170ee9c (patch) | |
tree | a6e45a802aa5b10f7de04753e9b701fc80869f56 /libavcodec/vdpau.h | |
parent | 79181b97d477386e26bd1d4d476b33376f194c96 (diff) | |
download | ffmpeg-069eea16d975643bee6a42643c9bac54f170ee9c.tar.gz |
libavformat/oggdec: Free stream private when header parsing fails.
Leaking this private structure opens up the possibility that it may
be re-used when parsing later packets in the stream. This is
problematic if the later packets are not the same codec type (e.g.
private allocated during Vorbis parsing, but later packets are Opus
and the private is assumed to be the oggopus_private type in
opus_header()).
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
(cherry picked from commit 542f725964e52201000ec34e2f23229cf534ad3a)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavcodec/vdpau.h')
0 files changed, 0 insertions, 0 deletions