vlc | branch: master | Ilkka Ollakka <[email protected]> | Sun Sep 22 16:54:09 2013 +0300| [eb91162e8664678397f2631d3e956f2647964ebf] | committer: Ilkka Ollakka
avcodec: use correct buffer size in fill_audio_frame > http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=eb91162e8664678397f2631d3e956f2647964ebf --- modules/codec/avcodec/encoder.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/codec/avcodec/encoder.c b/modules/codec/avcodec/encoder.c index 14cd592..01534b1 100644 --- a/modules/codec/avcodec/encoder.c +++ b/modules/codec/avcodec/encoder.c @@ -1188,7 +1188,7 @@ static block_t *EncodeAudio( encoder_t *p_enc, block_t *p_aout_buf ) } if( avcodec_fill_audio_frame( p_sys->frame, p_sys->p_context->channels, p_sys->p_context->sample_fmt, p_sys->b_planar ? p_sys->p_interleave_buf : p_sys->p_buffer, - leftover + buffer_delay, + p_sys->i_buffer_out, align) < 0 ) { msg_Err( p_enc, "filling error on fillup" ); _______________________________________________ vlc-commits mailing list [email protected] https://mailman.videolan.org/listinfo/vlc-commits
