[FFmpeg-cvslog] rv34_parser: Adjust #if for disabling individual parsers

Diego Biurrun git at videolan.org
Wed Jan 16 11:49:28 CET 2013


ffmpeg | branch: master | Diego Biurrun <diego at biurrun.de> | Tue Jan 15 16:06:00 2013 +0100| [0b22107d95042793a897b6a8823fe43bd55d68de] | committer: Diego Biurrun

rv34_parser: Adjust #if for disabling individual parsers

As CONFIG_ values are always defined, they have to be checked via #if.

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=0b22107d95042793a897b6a8823fe43bd55d68de
---

 libavcodec/rv34_parser.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/libavcodec/rv34_parser.c b/libavcodec/rv34_parser.c
index ccb4314..8af7443 100644
--- a/libavcodec/rv34_parser.c
+++ b/libavcodec/rv34_parser.c
@@ -76,7 +76,7 @@ static int rv34_parse(AVCodecParserContext *s,
     return buf_size;
 }
 
-#ifdef CONFIG_RV30_PARSER
+#if CONFIG_RV30_PARSER
 AVCodecParser ff_rv30_parser = {
     .codec_ids      = { AV_CODEC_ID_RV30 },
     .priv_data_size = sizeof(RV34ParseContext),
@@ -84,7 +84,7 @@ AVCodecParser ff_rv30_parser = {
 };
 #endif
 
-#ifdef CONFIG_RV40_PARSER
+#if CONFIG_RV40_PARSER
 AVCodecParser ff_rv40_parser = {
     .codec_ids      = { AV_CODEC_ID_RV40 },
     .priv_data_size = sizeof(RV34ParseContext),



More information about the ffmpeg-cvslog mailing list