[libav-devel] [PATCH 09/12] truemotion1: remove disabled code

Kostya Shishkov kostya.shishkov at gmail.com
Sat May 19 17:56:39 CEST 2012


On Fri, Jul 29, 2011 at 01:02:43PM +0200, Diego Biurrun wrote:
> ---
>  libavcodec/truemotion1.c |    7 -------
>  1 files changed, 0 insertions(+), 7 deletions(-)
> 
> diff --git a/libavcodec/truemotion1.c b/libavcodec/truemotion1.c
> index fcf6004..a31aaaf 100644
> --- a/libavcodec/truemotion1.c
> +++ b/libavcodec/truemotion1.c
> @@ -355,14 +355,7 @@ static int truemotion1_decode_header(TrueMotion1Context *s)
>      if (s->flags & FLAG_SPRITE) {
>          av_log_ask_for_sample(s->avctx, "SPRITE frame found.\n");
>          /* FIXME header.width, height, xoffset and yoffset aren't initialized */
> -#if 0
> -        s->w = header.width;
> -        s->h = header.height;
> -        s->x = header.xoffset;
> -        s->y = header.yoffset;
> -#else
>          return -1;
> -#endif
>      } else {
>          s->w = header.xsize;
>          s->h = header.ysize;
> -- 

LGTM


More information about the libav-devel mailing list