[FFmpeg-devel] [RFC] Avoid av_read_frame memory copy in implementation

Ronald S. Bultje rsbultje
Wed May 26 16:39:57 CEST 2010


Hi,

On Wed, May 26, 2010 at 7:06 AM, Cyril Russo
<stage.nexvision at laposte.net> wrote:
> Currently, one must allocate another buffer to store the returned packet's
> data and copy the data, because initial memory is reused when calling
> av_read_frame again.

Huh? That sounds like a bug, demuxers freshly allocate memory for each packet.

Ronald



More information about the ffmpeg-devel mailing list