[FFmpeg-devel] [PATCH 2/2] Support playing SMV files.

Michael Niedermayer michaelni at gmx.at
Wed Mar 20 03:02:48 CET 2013


On Tue, Feb 26, 2013 at 09:22:21PM +0000, Ash Hughes wrote:
> Updated to fix parse errors, patch against trunk. Both plays and converts...
[...]
> +static av_cold int smvjpeg_decode_end(AVCodecContext *avctx)
> +{
> +    SMVJpegDecodeContext *s = avctx->priv_data;
> +    MJpegDecodeContext *jpg = &s->jpg;
> +
> +    jpg->picture_ptr = NULL;

> +    if (s->picture[1].data[0])
> +        avctx->release_buffer(avctx, &s->picture[1]);

this needs to be updated to the buffer reference API

also please make sure to create the patch with
git format-patch or git send-email

thanks

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Dictatorship naturally arises out of democracy, and the most aggravated
form of tyranny and slavery out of the most extreme liberty. -- Plato
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20130320/964079c5/attachment.asc>


More information about the ffmpeg-devel mailing list