Hi! I tried it with an additional
avcodec_flush_buffers(pCodecCtx); and with only avcodec_close(), same effect :( I wonder how I can free this strange buffers. Valgrind isn't complaining after closing the app, so that buffers are freed correctly. I wrote a test app which plays 10 videos with 800x600 and the needed buffer is about 100MB, when I watch with pmap. After closing all videos the buffer is still 100MB Does some static buffer exists somewhere? 2011/5/9 Kirill Gavrilov <[email protected]> > I play lots of different videos, an every different video makes the >> allocated buffer bigger. >> > I don't know but in my code also called > avcodec_flush_buffers(pCodecCtx); > time to time when needed. But I think avcodec_close() should do that too... > ----------------------------------------------- > Kirill Gavrilov, > Software designer. > > _______________________________________________ > Libav-user mailing list > [email protected] > http://ffmpeg.org/mailman/listinfo/libav-user > > -- Ing. Robert Grasböck Leopoldauer Straße 12/27 1210 Wien E-Mail: [email protected]
_______________________________________________ Libav-user mailing list [email protected] http://ffmpeg.org/mailman/listinfo/libav-user
