[vlc-devel] [PATCH] avcodec: don't guess size when encoding video

Tristan Matthews le.businessman at gmail.com
Fri Jul 4 17:44:53 CEST 2014


On Fri, Jul 4, 2014 at 10:18 AM, Tristan Matthews <le.businessman at gmail.com>
wrote:

>
> Yeah I had the same thought, but I wasn't sure if it was possible. Aside
> from overloading the block's pf_release function pointer to call
> av_free_packet, how could the AVPacket be wrapped without breaking callers?
> Do we have any examples of this kind of thing already in VLC?
>

Ah, looks like there's something similar in avcodec/audio.c to wrap an
AVFrame.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20140704/d04afd32/attachment.html>


More information about the vlc-devel mailing list