aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/truemotion2.c
diff options
context:
space:
mode:
authorMans Rullgard <mans@mansr.com>2011-06-01 17:26:27 +0100
committerMans Rullgard <mans@mansr.com>2011-06-02 20:06:00 +0100
commite65ab9d94f1c8d8893e32d90467d9525625d306a (patch)
tree032ea02dc36a1510af2807848d961f024e8a052e /libavcodec/truemotion2.c
parent808d8ff6bb92e641cdd99a0b06767eabd707b925 (diff)
downloadffmpeg-e65ab9d94f1c8d8893e32d90467d9525625d306a.tar.gz
Remove unused variables
Diffstat (limited to 'libavcodec/truemotion2.c')
-rw-r--r--libavcodec/truemotion2.c14
1 files changed, 0 insertions, 14 deletions
diff --git a/libavcodec/truemotion2.c b/libavcodec/truemotion2.c
index f9e607c4f7..23abade214 100644
--- a/libavcodec/truemotion2.c
+++ b/libavcodec/truemotion2.c
@@ -201,7 +201,6 @@ static inline int tm2_read_header(TM2Context *ctx, const uint8_t *buf)
{
uint32_t magic;
const uint8_t *obuf;
- int length;
obuf = buf;
@@ -212,19 +211,6 @@ static inline int tm2_read_header(TM2Context *ctx, const uint8_t *buf)
/* av_log (ctx->avctx, AV_LOG_ERROR, "TM2 old header: not implemented (yet)\n"); */
return 40;
} else if(magic == 0x00000101) { /* new header */
- int w, h, size, flags, xr, yr;
-
- length = AV_RL32(buf);
- buf += 4;
-
- init_get_bits(&ctx->gb, buf, 32 * 8);
- size = get_bits_long(&ctx->gb, 31);
- h = get_bits(&ctx->gb, 15);
- w = get_bits(&ctx->gb, 15);
- flags = get_bits_long(&ctx->gb, 31);
- yr = get_bits(&ctx->gb, 9);
- xr = get_bits(&ctx->gb, 9);
-
return 40;
} else {
av_log (ctx->avctx, AV_LOG_ERROR, "Not a TM2 header: 0x%08X\n", magic);