truemotion1: remove disabled code
authorDiego Biurrun <diego@biurrun.de>
Fri, 29 Jul 2011 10:48:45 +0000 (12:48 +0200)
committerDiego Biurrun <diego@biurrun.de>
Sun, 20 May 2012 13:04:43 +0000 (15:04 +0200)
libavcodec/truemotion1.c

index 9e1168a..bc501a2 100644 (file)
@@ -354,14 +354,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;