[FFmpeg-cvslog] truemotion1: remove disabled code

Diego Biurrun git at videolan.org
Sun May 20 23:00:49 CEST 2012


ffmpeg | branch: master | Diego Biurrun <diego at biurrun.de> | Fri Jul 29 12:48:45 2011 +0200| [4466d0e84b3a105a02170ce8bc9e22820ff0152f] | committer: Diego Biurrun

truemotion1: remove disabled code

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=4466d0e84b3a105a02170ce8bc9e22820ff0152f
---

 libavcodec/truemotion1.c |    7 -------
 1 file changed, 7 deletions(-)

diff --git a/libavcodec/truemotion1.c b/libavcodec/truemotion1.c
index 9e1168a..bc501a2 100644
--- a/libavcodec/truemotion1.c
+++ b/libavcodec/truemotion1.c
@@ -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;



More information about the ffmpeg-cvslog mailing list