[Libav-user] performance issue about audio decoding
applemax82 at 163.com
Mon Sep 7 05:19:55 CEST 2015
I intend to use avcodec_decode_audio4(). below is url link of the function description:
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?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Libav-user