<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Fri, Jul 4, 2014 at 10:18 AM, Tristan Matthews <span dir="ltr"><<a href="mailto:le.businessman@gmail.com" target="_blank">le.businessman@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><div class=""><div><br></div></div><div>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?<br>
</div></div></div></div></blockquote><div><br></div><div>Ah, looks like there's something similar in avcodec/audio.c to wrap an AVFrame.<br></div></div></div></div>