aboutsummaryrefslogtreecommitdiffstats
path: root/ffplay.c
diff options
context:
space:
mode:
authorChris Cunningham <chcunningham@chromium.org>2016-05-09 15:27:29 -0700
committerMichael Niedermayer <michael@niedermayer.cc>2016-05-11 03:50:37 +0200
commit542f725964e52201000ec34e2f23229cf534ad3a (patch)
treebe2a971d5008dcf9b3b0d6475e4aa7a9af0dcdd5 /ffplay.c
parentd645182227e8830de4de59a7b9ebec1b7e714d12 (diff)
downloadffmpeg-542f725964e52201000ec34e2f23229cf534ad3a.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>
Diffstat (limited to 'ffplay.c')
0 files changed, 0 insertions, 0 deletions