[FFmpeg-devel] [PATCH] Remove unused code

Aurelien Jacobs aurel
Mon May 4 19:47:30 CEST 2009


On Fri, May 01, 2009 at 11:50:55PM +0200, Benjamin Larsson wrote:
> Dead assignments found by CSA.
> 
> [...]
> 
> Index: libavformat/matroskadec.c
> ===================================================================
> --- libavformat/matroskadec.c	(revision 18726)
> +++ libavformat/matroskadec.c	(working copy)
> @@ -1679,7 +1679,6 @@
>                  if (av_new_packet(pkt, pkt_size+offset) < 0) {
>                      av_free(pkt);
>                      res = AVERROR(ENOMEM);
> -                    n = laces-1;
>                      break;
>                  }
>                  if (offset)

This hunk is OK too.

Aurel



More information about the ffmpeg-devel mailing list