maybe memory leak of av_read_frame/av_free_packet.
|Reported by:||yan||Owned by:|
|Blocking:||Reproduced by developer:||no|
|Analyzed by developer:||no|
i use vertion 1.2 and compile for android (armv7a without neon), following by the guide of "how to compile ffmpeg for android" (http://ffmpeg.org/trac/ffmpeg/wiki/How%20to%20compile%20FFmpeg%20for%20Android)
then i get the "*.so"s succesful.
here is my testing code:
int readRet = 0;
readRet = av_read_frame(s,&avpkt);
if(readRet < 0)
then i check the status of memory usage by using "cat /proc/meminfo"
that after about 20secs from the testing code running.
the "free memory" line in the cat result become less and less.
almost 1MiB eating by the testing code per second.
after the testing code exit by reach the EOF. the eat memory not released !!!!!
the media file is a AVI content file, with H264 1080P60FPS video,and AAC 192K audio stream.
I tried stable version 1.2, 0.11.