From e6dfaf7bb89a63546c2266f5bc1f56719394ab91 Mon Sep 17 00:00:00 2001 From: Paul B Mahol Date: Fri, 12 Oct 2012 11:53:07 +0000 Subject: [PATCH] truemotion2: remove unreachable code Fixes CID610345. Signed-off-by: Paul B Mahol (cherry picked from commit caa7e24eb1d47a0dfeb9783909bce7df6d3f5482) Signed-off-by: Michael Niedermayer --- libavcodec/truemotion2.c | 2 -- 1 file changed, 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) {