mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-01-24 13:56:33 +02:00
RV3/4 parser: remove unused variable 'off'
Signed-off-by: Diego Biurrun <diego@biurrun.de>
This commit is contained in:
parent
c6c6c1aaa6
commit
91e209d720
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user