[FFmpeg-devel] theora depayloader

Martin Storsjö martin
Mon Mar 22 16:16:01 CET 2010


On Mon, 22 Mar 2010, Josh Allmann wrote:

> It is now:
> + ? ?extradata_alloc = length + length/255 + 3 + FF_INPUT_BUFFER_PADDING_SIZE;

Ok, good. Update the comment above this too (e.g. "length/255 + 2 for 
xiphlacing").

> Got the rest of them, hopefully.

> +                av_log(codec, AV_LOG_ERROR,
> +                        "Out of memory while decoding SDP configuration.\n");

The quoted text is off by one. :-)

With these changes, I'm ok with the patch too. If you send a new one 
addresing Ronald's comments, I'll apply it.

// Martin



More information about the ffmpeg-devel mailing list