[FFmpeg-devel] [PATCH] Decoding of raw UTF-8 text from Ogg streams

Diego Biurrun diego
Mon Jul 27 16:47:42 CEST 2009


On Mon, Jul 27, 2009 at 03:18:06PM +0100, ogg.k.ogg.k at googlemail.com wrote:
> > 2 remarks I forgot last time:
> 
> Done.
> 
> --- a/libavcodec/utils.c
> +++ b/libavcodec/utils.c
> @@ -655,6 +655,31 @@ int avcodec_decode_subtitle2(AVCodecContext *avctx, AVSubtitle *sub,
> +            pic = &r->pict;
> +            for (d = 0; d < FF_ARRAY_ELEMS(pic->data); d++) {
> +                av_free(pic->data[n]);
> +            }

nit: pointless {}

Don't bother sending another patch for this, wait for more comments.

Diego



More information about the ffmpeg-devel mailing list