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>
Fri, 15 May 2015 08:04:51 +0000 (10:04 +0200)
commit889a4779eb67688ecdb66daa053e52c2dd01a41f
tree6f001df6e291ad39d5b9aef5b0e5d7143a55e1d4
parenta9d3baff034cd9983a9f17a12e6d9e196e1b7e9c
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