projects
/
ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
320e1d0
)
rv34_parser: Adjust #if for disabling individual parsers
author
Diego Biurrun
<diego@biurrun.de>
Tue, 15 Jan 2013 15:06:00 +0000
(16:06 +0100)
committer
Diego Biurrun
<diego@biurrun.de>
Tue, 15 Jan 2013 15:20:14 +0000
(16:20 +0100)
As CONFIG_ values are always defined, they have to be checked via #if.
libavcodec/rv34_parser.c
patch
|
blob
|
history
diff --git
a/libavcodec/rv34_parser.c
b/libavcodec/rv34_parser.c
index
ccb4314
..
8af7443
100644
(file)
--- a/
libavcodec/rv34_parser.c
+++ b/
libavcodec/rv34_parser.c
@@
-76,7
+76,7
@@
static int rv34_parse(AVCodecParserContext *s,
return buf_size;
}
-#if
def
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
-#if
def
CONFIG_RV40_PARSER
+#if CONFIG_RV40_PARSER
AVCodecParser ff_rv40_parser = {
.codec_ids = { AV_CODEC_ID_RV40 },
.priv_data_size = sizeof(RV34ParseContext),