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>
Sat, 4 Aug 2018 14:17:01 +0000 (16:17 +0200)
commit6b67d7f05918f7a1ee8fc6ff21355d7e8736aa10
tree6cc5ea773cb22a05ce4c01582554c22f793de38a
parent476fd6ba3a7d74ed8be9af10cb9f4d4b3fdaf3e1
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>
libavformat/flvenc.c