ffmpeg: Check for parameter changes at the output of the audio filter graph
authorMichael Niedermayer <michaelni@gmx.at>
Thu, 14 Feb 2013 22:43:34 +0000 (23:43 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Thu, 14 Feb 2013 22:56:51 +0000 (23:56 +0100)
commitc3fb20bab4f00621733809fb35ee39a5ae11e598
treee90cd60baa80fae7eeaced01361e0d524ba63d2a
parentd5ce725cb32ba932cdede102f246d060460786cb
ffmpeg: Check for parameter changes at the output of the audio filter graph

It is currently possible that such changes leak through from the decoder as
well as a filter could generate such changes itself.
This commit blocks such changed packets unless the encoder declares support.

Fixes out of array reads

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