]> git.sesse.net Git - ffmpeg/commit
oggdec: prevent codec from changing through ogg_replace_stream()
authorMichael Niedermayer <michaelni@gmx.at>
Wed, 5 Dec 2012 03:38:57 +0000 (04:38 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Wed, 5 Dec 2012 03:40:19 +0000 (04:40 +0100)
commit9db3fb6ed8d35ae02a1d3c322777bd45bb4579c9
tree8279d2a5fca992c501a15d7eceec4e2148742656
parent599ae9995f2e66803431e9d87fab2e650f23229e
oggdec: prevent codec from changing through ogg_replace_stream()

This prevents inconsistencies leading to out of array accesses.

Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavformat/oggdec.c