[FFmpeg-cvslog] truemotion2: remove unreachable code
Paul B Mahol
git at videolan.org
Thu Oct 25 21:29:17 CEST 2012
ffmpeg | branch: release/0.10 | Paul B Mahol <onemda at gmail.com> | Fri Oct 12 11:53:07 2012 +0000| [e6dfaf7bb89a63546c2266f5bc1f56719394ab91] | committer: Michael Niedermayer
truemotion2: remove unreachable code
Fixes CID610345.
Signed-off-by: Paul B Mahol <onemda at gmail.com>
(cherry picked from commit caa7e24eb1d47a0dfeb9783909bce7df6d3f5482)
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=e6dfaf7bb89a63546c2266f5bc1f56719394ab91
---
libavcodec/truemotion2.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/libavcodec/truemotion2.c b/libavcodec/truemotion2.c
index e2fbf9b..2f94f56 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) {
More information about the ffmpeg-cvslog
mailing list