I just ran into an issue when trying to seek through an H.264 file. I realized a huge memory increase and I debugged my code to finally find out that avcodec_flush_buffers is the bad guy. With every call, the memory footprint is increased by about 3 MB in my case (NTSC SD movie, GOP length ~ 10).
When I turn the thread_count down to 1, this doesn’t happen. I checked the ff_thread_flush function but I don’t see anything suspicious there. Any ideas where this could be coming from? Best, Flo _______________________________________________ Libav-user mailing list [email protected] http://ffmpeg.org/mailman/listinfo/libav-user
