[FFmpeg-devel] [PATCH] Add example transcoding.c

Michael Niedermayer michaelni at gmx.at
Tue Feb 18 17:33:51 CET 2014

On Tue, Feb 18, 2014 at 07:53:32PM +0530, Anshul wrote:
> Andrey Utkin <andrey.krieger.utkin at gmail.com> wrote:
> >Besides comments, _testing_ is appreciated.
> >I have tested it under valgrind with file with mpeg4 video and mp2
> >audio, generated with:
> >ffmpeg  -f lavfi -i testsrc  -f lavfi -i aevalsrc=0 -map 0 -map 1
> >-vcodec mpeg4 -acodec mp2 -f mpegts ~/testmp4_long.ts -y
> >With this file it works without leaks, except for 
> >==20556== 40 bytes in 1 blocks are still reachable in loss record 1 of
> >1
> >==20556==    at 0x4C2A018: memalign (vg_replace_malloc.c:727)
> >==20556==    by 0x4C2A0A7: posix_memalign (vg_replace_malloc.c:876)
> >==20556==    by 0xCE7A29: av_malloc (mem.c:94)
> >==20556==    by 0xA294F9: default_lockmgr_cb (utils.c:78)
> No cure ,this is mutex allocated and there is no way it can be distroyed
> Other than setting your custom lock and destroying it at last.
> This lock does not have memory leak continuously, since lock is created once. I did send patch for
> This but due to no reply I did work around in my application design.

sent a reply to that patch

PS: dont forget pinging patches if they receive no reply ...

Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

The greatest way to live with honor in this world is to be what we pretend
to be. -- Socrates
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20140218/0f25af8d/attachment.asc>

More information about the ffmpeg-devel mailing list