Hello everyone,

I know there are millions of threads/mails about this, but none have
similar cases.

OS - Ubuntu 14.04.2 LTS and all libav devel pkges are
 6:9.18-0ubuntu0.14.04.1+fdkaac version.

ffmpeg version N-75912-g624057d Copyright (c) 2000-2015 the FFmpeg
developers
  built with gcc 4.8 (Ubuntu 4.8.4-2ubuntu1~14.04)
  configuration: --enable-libx264 --enable-gpl
  libavutil      55.  3.100 / 55.  3.100
  libavcodec     57.  5.100 / 57.  5.100
  libavformat    57.  3.100 / 57.  3.100
  libavdevice    57.  0.100 / 57.  0.100
  libavfilter     6. 11.100 /  6. 11.100
  libswscale      4.  0.100 /  4.  0.100
  libswresample   2.  0.100 /  2.  0.100
  libpostproc    54.  0.100 / 54.  0.100

Sample code:
http://pastebin.com/kbRmrjpe

I tried both av_frame_unref and av_frame_free after decoding frame and in
case of free I call av_frame_alloc() again;

No matter what I try call to avcodec_decode_video2 results in memory leak.
One distinguishing factor from normal cases is that the input stream is
quite large.

Any help or ideas are appreciated,
Thanks in advance.
_______________________________________________
Libav-user mailing list
[email protected]
http://ffmpeg.org/mailman/listinfo/libav-user

Reply via email to