]> git.sesse.net Git - vlc/commit
avcodec: ensure valid buffer size for avcodec_fill_audio_frame
authorTristan Matthews <le.businessman@gmail.com>
Tue, 5 Nov 2013 00:27:14 +0000 (19:27 -0500)
committerIlkka Ollakka <ileoo@videolan.org>
Tue, 5 Nov 2013 18:17:17 +0000 (20:17 +0200)
commit64d26fe44e29a6457f09e2dcf0597d4e7da2816f
treeb64962f6ff9a175ee68017fda0d796745c96bedf
parente347b8f495e7d8c82896ee372f9966a1c73b0a7e
avcodec: ensure valid buffer size for avcodec_fill_audio_frame

avcodec_fill_audio_frame will reject input buffers that are too small,
therefore we cannot call it directly with the input buffer p_aout_buf.

Signed-off-by: Ilkka Ollakka <ileoo@videolan.org>
modules/codec/avcodec/encoder.c