aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/rv34_parser.c
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2012-08-05 11:11:04 +0200
committerAnton Khirnov <anton@khirnov.net>2012-08-07 16:00:24 +0200
commit36ef5369ee9b336febc2c270f8718cec4476cb85 (patch)
treed186adbb488e7f002aa894743b1ce0e8925520e6 /libavcodec/rv34_parser.c
parent104e10fb426f903ba9157fdbfe30292d0e4c3d72 (diff)
downloadffmpeg-36ef5369ee9b336febc2c270f8718cec4476cb85.tar.gz
Replace all CODEC_ID_* with AV_CODEC_ID_*
Diffstat (limited to 'libavcodec/rv34_parser.c')
-rw-r--r--libavcodec/rv34_parser.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libavcodec/rv34_parser.c b/libavcodec/rv34_parser.c
index 4c1d2e396e..ccb431426c 100644
--- a/libavcodec/rv34_parser.c
+++ b/libavcodec/rv34_parser.c
@@ -52,7 +52,7 @@ static int rv34_parse(AVCodecParserContext *s,
}
hdr = AV_RB32(buf + 9 + *buf * 8);
- if (avctx->codec_id == CODEC_ID_RV30) {
+ if (avctx->codec_id == AV_CODEC_ID_RV30) {
type = (hdr >> 27) & 3;
pts = (hdr >> 7) & 0x1FFF;
} else {
@@ -78,7 +78,7 @@ static int rv34_parse(AVCodecParserContext *s,
#ifdef CONFIG_RV30_PARSER
AVCodecParser ff_rv30_parser = {
- .codec_ids = { CODEC_ID_RV30 },
+ .codec_ids = { AV_CODEC_ID_RV30 },
.priv_data_size = sizeof(RV34ParseContext),
.parser_parse = rv34_parse,
};
@@ -86,7 +86,7 @@ AVCodecParser ff_rv30_parser = {
#ifdef CONFIG_RV40_PARSER
AVCodecParser ff_rv40_parser = {
- .codec_ids = { CODEC_ID_RV40 },
+ .codec_ids = { AV_CODEC_ID_RV40 },
.priv_data_size = sizeof(RV34ParseContext),
.parser_parse = rv34_parse,
};