Browse Source

RV3/4 parser: remove unused variable 'off'

Signed-off-by: Diego Biurrun <diego@biurrun.de>
tags/n0.9
Kostya Shishkov Diego Biurrun 14 years ago
parent
commit
91e209d720
1 changed files with 0 additions and 2 deletions
  1. +0
    -2
      libavcodec/rv34_parser.c

+ 0
- 2
libavcodec/rv34_parser.c View File

@@ -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,
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;


Loading…
Cancel
Save