avformat/matroskaenc: Check ff_vorbiscomment_length in put_flac_codecpriv()
authorMichael Niedermayer <michaelni@gmx.at>
Mon, 11 May 2015 13:37:38 +0000 (15:37 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Thu, 21 May 2015 18:43:38 +0000 (20:43 +0200)
commit699357dd4ea492a83d84baac287cfd363974f8b2
tree2a1cd6685c49710b9206ad57337eca18a20d9d2c
parentff0f0b1e835a38dc102d766003803314b159051c
avformat/matroskaenc: Check ff_vorbiscomment_length in put_flac_codecpriv()

Its currently guaranteed to be smaller but its safer to check anyway

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
(cherry picked from commit 66f26b3e8ec075298e7ba329a55893d085bafe96)

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavformat/matroskaenc.c