Commit 0b22107d authored by Diego Biurrun's avatar Diego Biurrun

rv34_parser: Adjust #if for disabling individual parsers

As CONFIG_ values are always defined, they have to be checked via #if.
parent 320e1d0d
...@@ -76,7 +76,7 @@ static int rv34_parse(AVCodecParserContext *s, ...@@ -76,7 +76,7 @@ static int rv34_parse(AVCodecParserContext *s,
return buf_size; return buf_size;
} }
#ifdef CONFIG_RV30_PARSER #if CONFIG_RV30_PARSER
AVCodecParser ff_rv30_parser = { AVCodecParser ff_rv30_parser = {
.codec_ids = { AV_CODEC_ID_RV30 }, .codec_ids = { AV_CODEC_ID_RV30 },
.priv_data_size = sizeof(RV34ParseContext), .priv_data_size = sizeof(RV34ParseContext),
...@@ -84,7 +84,7 @@ AVCodecParser ff_rv30_parser = { ...@@ -84,7 +84,7 @@ AVCodecParser ff_rv30_parser = {
}; };
#endif #endif
#ifdef CONFIG_RV40_PARSER #if CONFIG_RV40_PARSER
AVCodecParser ff_rv40_parser = { AVCodecParser ff_rv40_parser = {
.codec_ids = { AV_CODEC_ID_RV40 }, .codec_ids = { AV_CODEC_ID_RV40 },
.priv_data_size = sizeof(RV34ParseContext), .priv_data_size = sizeof(RV34ParseContext),
......
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