[FFmpeg-devel] [PATCH] Explicit avcodec_decode_video2 documentation about picture allocation

Cyril Russo stage.nexvision
Sun May 2 13:51:19 CEST 2010

> While I don't object to any clarification, I'd like to point out that this
> is already documented:
> @param[out] picture
> picture is only an output parameter, not input.

I'm sorry to point out that this not clear at all.
There is a difference between being an output parameter and allocating 
the parameter's internal buffers.
Clearly, I understand the picture will be written onto (that's what 
output parameter means I think), and not that it'll be allocated by the 

Anyway, here's an updated patch.
Best regards,

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: allocationHelp.patch
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20100502/ccc35b72/attachment.asc>

More information about the ffmpeg-devel mailing list