[FFmpeg-devel] [PATCH] avcodec/internal: improve min_size documentation for ff_alloc_packet2()

wm4 nfxjfg at googlemail.com
Mon Aug 3 22:45:52 CEST 2015

On Mon, 3 Aug 2015 17:33:15 -0300
James Almer <jamrial at gmail.com> wrote:

> On 03/08/15 5:05 PM, wm4 wrote:
> > - we'll probably see a flood of commits changing random encoders to
> >   this new function, for no reason (I'm looking forward to be proven
> >   wrong)
> ff_alloc_packet() is marked as deprecated. I wouldn't find it odd at
> all if maintainers for different encoders make the switch if only to
> silence the warning.
> So if anyone does it, it most likely wont be "for no reason".

OK, but why was ff_alloc_packet2() introduced?

More information about the ffmpeg-devel mailing list