[Libav-user] Problems with Buffers

Robert Grasböck robert.grasboeck at gmail.com
Mon May 9 11:35:19 CEST 2011


I'm using FFmpeg 5.1 for playing videos.
For correct handling of the libs I used some examples found with google.


But now I run into problems, that some buffers created from FFmpeg are
getting bigger and bigger.
I play lots of different videos, an every different video makes the
allocated buffer bigger.

I tested with valgrind too, to be free of any memleaks.

Are there any functions functions to call else the following?

// Free the RGB image
delete [] buffer;

// Free the YUV frame

// Close the codec

// Close the video file

I couldn't find anything in the documentation, maybe for you it's completely
clear, what i'm doing wrong.
Do some examples exist?
Should I move to a newer version?

Thank you for answers!

best regards
Robert Grasböck

Ing. Robert Grasböck
Leopoldauer Straße 12/27
1210 Wien
E-Mail: robert.grasboeck at gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://ffmpeg.org/pipermail/libav-user/attachments/20110509/129c1481/attachment.html>

More information about the Libav-user mailing list