avcodec/mpegaudiodec_template/mp3on4: check that all channels have been decoded befor...
authorMichael Niedermayer <michaelni@gmx.at>
Tue, 14 Jan 2014 19:53:42 +0000 (20:53 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Tue, 14 Jan 2014 19:56:08 +0000 (20:56 +0100)
commit2545182c294ff6b91ad36a575246788159e39f28
tree77a6c87fdd9ef6357a5a0c9217d0b27ca81977e4
parentb2ae92110f9ec31c254e85eb86719827e80362e6
avcodec/mpegaudiodec_template/mp3on4: check that all channels have been decoded before returnig a frame

Fixes use of uninitialized memory
Fixes: msan_uninit-mem_7f80bf9a259e_5774_id5_1.mp4
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/mpegaudiodec_template.c