Hi!
I'm decoding video on Wm2005 device, and I have to fight for every single byte
of memory there.
I need to show video and after this, unload all memory it took complete. This
is my steps:
if (is->audio_stream >= 0)
{
stream_component_close(is, is->audio_stream);
}
if (is->video_stream >= 0)
{
stream_component_close(is, is->video_stream);
}
if (is->ic)
{
av_close_input_file(is->ic);
is->ic = NULL; /* safety */
}
av_free(audio_bufs);
av_free(buffer);
av_free(pFrameRGB);
av_free(pFrame);
However, about 3,5mb are still being in use. I see, that before video playback
starts, there are
avdevice-52.dll, avformat-52, avutil-49 && dllavcodec-51.dll loaded into the
memory. Is there function to release them as well? I'm kinda newbie, so all I
can assume is that they are taking my precious 3,5 mb.
_______________________________________________
libav-user mailing list
[email protected]
https://lists.mplayerhq.hu/mailman/listinfo/libav-user