summaryrefslogtreecommitdiff
path: root/libavcodec/truemotion2.c
diff options
context:
space:
mode:
authorPaul B Mahol <onemda@gmail.com>2012-10-12 11:53:07 +0000
committerPaul B Mahol <onemda@gmail.com>2012-10-12 11:54:38 +0000
commitcaa7e24eb1d47a0dfeb9783909bce7df6d3f5482 (patch)
tree2211bfbf5110e1bacff35e7e306bd0b623493174 /libavcodec/truemotion2.c
parent4dcf71aacca695fecba2c04e14d2b44bb3d8b764 (diff)
downloadffmpeg-caa7e24eb1d47a0dfeb9783909bce7df6d3f5482.tar.gz
truemotion2: remove unreachable code
Fixes CID610345. Signed-off-by: Paul B Mahol <onemda@gmail.com>
Diffstat (limited to 'libavcodec/truemotion2.c')
-rw-r--r--libavcodec/truemotion2.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/libavcodec/truemotion2.c b/libavcodec/truemotion2.c
index c7b7ac3d74..1e682a72ca 100644
--- a/libavcodec/truemotion2.c
+++ b/libavcodec/truemotion2.c
@@ -222,8 +222,6 @@ static inline int tm2_read_header(TM2Context *ctx, const uint8_t *buf)
av_log (ctx->avctx, AV_LOG_ERROR, "Not a TM2 header: 0x%08X\n", magic);
return -1;
}
-
- return buf - obuf;
}
static int tm2_read_deltas(TM2Context *ctx, int stream_id) {