[FFmpeg-devel] [PATCH] H264: move avctx->refs init down to SPS (take 2)

Gwenole Beauchesne gbeauchesne
Wed Apr 14 16:43:26 CEST 2010


On Wed, 14 Apr 2010, Michael Niedermayer wrote:

>> d2ac629f224aec2ba0fd9b8347d8adadf9d94448  ffmpeg.h264.refs.patch
>> commit 837dcdec35c721f5c56dcbbc31e2290957c3e2b1
>> Author: Gwenole Beauchesne <gbeauchesne at splitted-desktop.com>
>> Date:   Wed Apr 14 07:10:35 2010 +0200
>>     Move avctx->refs initialization down to SPS.
> this patch is incorrect there can be several SPS, you wont know before
> the slice header which is used.

OK, I see. What about this one? It just moves avctx->refs init up, just 
below h->sps is initialized.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: ffmpeg.h264.refs.2.patch
Type: text/x-diff
Size: 1185 bytes
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20100414/e282491d/attachment.patch>

More information about the ffmpeg-devel mailing list