[FFmpeg-devel] [PATCH] smacker: remove unnecessary call to avctx->release_buffer in decode_frame()

Stefano Sabatini stefano.sabatini-lala at poste.it
Wed Apr 27 12:14:51 CEST 2011

On date Tuesday 2011-04-26 11:37:36 +0200, Stefano Sabatini encoded:
> The release_buffer was cleaning the provided frame, thus causing the
> successive call to avctx->reget_buffer() to allocate a new frame.  In
> case the returned frame was not the same one previously returned but a
> new one with different data, it resulted in artifacts.
> Fix trac issue #87.

Adding libav-devel to recipients, so Kostya can comment on this (this
regression was discussed some time ago on irc).
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-smacker-remove-unnecessary-call-to-avctx-release_buf.patch
Type: text/x-diff
Size: 1151 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20110427/38fd4e16/attachment.bin>

More information about the ffmpeg-devel mailing list