Commit 91e209d7 authored by Kostya Shishkov's avatar Kostya Shishkov Committed by Diego Biurrun

RV3/4 parser: remove unused variable 'off'

Signed-off-by: 's avatarDiego Biurrun <diego@biurrun.de>
parent c6c6c1aa
...@@ -43,7 +43,6 @@ static int rv34_parse(AVCodecParserContext *s, ...@@ -43,7 +43,6 @@ static int rv34_parse(AVCodecParserContext *s,
const uint8_t *buf, int buf_size) const uint8_t *buf, int buf_size)
{ {
RV34ParseContext *pc = s->priv_data; RV34ParseContext *pc = s->priv_data;
int off;
int type, pts, hdr; int type, pts, hdr;
if (buf_size < 13 + *buf * 8) { if (buf_size < 13 + *buf * 8) {
...@@ -52,7 +51,6 @@ static int rv34_parse(AVCodecParserContext *s, ...@@ -52,7 +51,6 @@ static int rv34_parse(AVCodecParserContext *s,
return buf_size; return buf_size;
} }
off = AV_RL32(buf + 5);
hdr = AV_RB32(buf + 9 + *buf * 8); hdr = AV_RB32(buf + 9 + *buf * 8);
if (avctx->codec_id == CODEC_ID_RV30) { if (avctx->codec_id == CODEC_ID_RV30) {
type = (hdr >> 27) & 3; type = (hdr >> 27) & 3;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment