aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec
diff options
context:
space:
mode:
authorKostya Shishkov <kostya.shishkov@gmail.com>2011-08-17 15:07:49 +0200
committerDiego Biurrun <diego@biurrun.de>2011-08-17 15:31:40 +0200
commit91e209d720abf9f2851dc606859ab83c405591b1 (patch)
tree0f17fbff2c1e3e2bcd1d85fabbfb02ab0ff23dbb /libavcodec
parentc6c6c1aaa64f1ab6823b712c914c81dacc1898aa (diff)
downloadffmpeg-91e209d720abf9f2851dc606859ab83c405591b1.tar.gz
RV3/4 parser: remove unused variable 'off'
Signed-off-by: Diego Biurrun <diego@biurrun.de>
Diffstat (limited to 'libavcodec')
-rw-r--r--libavcodec/rv34_parser.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/libavcodec/rv34_parser.c b/libavcodec/rv34_parser.c
index c2563a5fdc..ce8604345e 100644
--- a/libavcodec/rv34_parser.c
+++ b/libavcodec/rv34_parser.c
@@ -43,7 +43,6 @@ static int rv34_parse(AVCodecParserContext *s,
const uint8_t *buf, int buf_size)
{
RV34ParseContext *pc = s->priv_data;
- int off;
int type, pts, hdr;
if (buf_size < 13 + *buf * 8) {
@@ -52,7 +51,6 @@ static int rv34_parse(AVCodecParserContext *s,
return buf_size;
}
- off = AV_RL32(buf + 5);
hdr = AV_RB32(buf + 9 + *buf * 8);
if (avctx->codec_id == CODEC_ID_RV30) {
type = (hdr >> 27) & 3;