I experienced that avformat_find_stream_info(), during the stream scan
of an ip camera, has a strong memory leakage, maybe because it buffers
the data to probe. Did someone experience the same problem? Is there a
way to free the memory?
thank you
ps: this is my code:
// format context
AVFormatContext *fc = avformat_alloc_context();
// start the input stream
int res;
res = avformat_open_input(&fc, url, 0, &opts);
if (res != 0) {
return res;
}
// stream info
res = avformat_find_stream_info(fc, &opts);
if (!(res >= 0)) {
return res;
}
Il 22/08/2012 15:58, Andrey Utkin ha scritto:
> 2012/8/21 Zanelli Franco <[email protected]>:
>> ps: this is my code:
> Please minimize your code.
>
_______________________________________________
Libav-user mailing list
[email protected]
http://ffmpeg.org/mailman/listinfo/libav-user