avformat/flvenc: Check audio packet size
authorMichael Niedermayer <michael@niedermayer.cc>
Sat, 28 Jul 2018 13:03:50 +0000 (15:03 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Wed, 31 Oct 2018 23:52:46 +0000 (00:52 +0100)
commit0026d007428a1ef5cd4e8f54bafc54c0306beab9
treea03ff1c271b273b3ffa985d1b410d484fa16b08e
parente2d052d5c8321487338979568c1e372727002603
avformat/flvenc: Check audio packet size

Fixes: Assertion failure
Fixes: assert_flvenc.c:941_1.swf

Found-by: #CHEN HONGXU# <HCHEN017@e.ntu.edu.sg>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
(cherry picked from commit 6b67d7f05918f7a1ee8fc6ff21355d7e8736aa10)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavformat/flvenc.c