aboutsummaryrefslogtreecommitdiff
path: root/libavcodec/vp3_parser.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavcodec/vp3_parser.c')
-rw-r--r--libavcodec/vp3_parser.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libavcodec/vp3_parser.c b/libavcodec/vp3_parser.c
index c2e8518c55..ce15309356 100644
--- a/libavcodec/vp3_parser.c
+++ b/libavcodec/vp3_parser.c
@@ -25,7 +25,7 @@ static int parse(AVCodecParserContext *s,
const uint8_t **poutbuf, int *poutbuf_size,
const uint8_t *buf, int buf_size)
{
- if(avctx->codec_id == CODEC_ID_THEORA)
+ if(avctx->codec_id == AV_CODEC_ID_THEORA)
s->pict_type= (buf[0]&0x40) ? AV_PICTURE_TYPE_P : AV_PICTURE_TYPE_I;
else
s->pict_type= (buf[0]&0x80) ? AV_PICTURE_TYPE_P : AV_PICTURE_TYPE_I;
@@ -36,7 +36,7 @@ static int parse(AVCodecParserContext *s,
}
AVCodecParser ff_vp3_parser = {
- .codec_ids = { CODEC_ID_THEORA, CODEC_ID_VP3, CODEC_ID_VP6,
- CODEC_ID_VP6F, CODEC_ID_VP6A },
+ .codec_ids = { AV_CODEC_ID_THEORA, AV_CODEC_ID_VP3, AV_CODEC_ID_VP6,
+ AV_CODEC_ID_VP6F, AV_CODEC_ID_VP6A },
.parser_parse = parse,
};