Hi,

I intend to use avcodec_decode_audio4(). below is url link of the function 
description:


http://ffmpeg.org/doxygen/2.6/group__lavc__decoding.html#ga834bb1b062fbcc2de4cf7fb93f154a3e


where, decoder will allocate a buffer for decoded frame.


Does it mean, decoder will allocate a buffer once avcodec_decode_audio4() is 
called? If I will avcodec_decode_audio4() thousand times, decoder will allocate 
buffer thousand times. If so, i think it's too much to consume system resource. 
Why don't decoder or other object allocate buffer only once?


Thanks!


B.R.


andrew

_______________________________________________
Libav-user mailing list
[email protected]
http://ffmpeg.org/mailman/listinfo/libav-user

Reply via email to