aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul B Mahol <onemda@gmail.com>2012-10-12 11:53:07 +0000
committerMichael Niedermayer <michaelni@gmx.at>2012-10-25 21:09:39 +0200
commite6dfaf7bb89a63546c2266f5bc1f56719394ab91 (patch)
tree753013d87b577e9a986fc74df5795dee5b7cd439
parentc9df500190ee9e2f4a7471e483069c06b24f5b00 (diff)
downloadffmpeg-e6dfaf7bb89a63546c2266f5bc1f56719394ab91.tar.gz
truemotion2: remove unreachable code
Fixes CID610345. Signed-off-by: Paul B Mahol <onemda@gmail.com> (cherry picked from commit caa7e24eb1d47a0dfeb9783909bce7df6d3f5482) Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r--libavcodec/truemotion2.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/libavcodec/truemotion2.c b/libavcodec/truemotion2.c
index e2fbf9b0e9..2f94f56824 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) {