summaryrefslogtreecommitdiff
path: root/libavcodec/h264.h
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2013-03-21 13:06:14 +0100
committerMichael Niedermayer <michaelni@gmx.at>2013-03-21 13:06:14 +0100
commit86d9d349cce54984ef7f4b67647ae73bf1c48f88 (patch)
treef1a65e0d48eb386d67b993fd9e56ddf3051614cd /libavcodec/h264.h
parent92656787cfeaf28af368bd4c20ffbaedc8ad3ca9 (diff)
parent23e85be58fc64b2e804e68b0034a08a6d257e523 (diff)
Merge commit '23e85be58fc64b2e804e68b0034a08a6d257e523'
* commit '23e85be58fc64b2e804e68b0034a08a6d257e523': h264: add a parameter to the CHROMA444 macro. h264: add a parameter to the CHROMA422 macro. Conflicts: libavcodec/h264.c libavcodec/h264.h libavcodec/h264_cavlc.c libavcodec/h264_loopfilter.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/h264.h')
-rw-r--r--libavcodec/h264.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/h264.h b/libavcodec/h264.h
index f20401dc34..392f2f5a7c 100644
--- a/libavcodec/h264.h
+++ b/libavcodec/h264.h
@@ -88,8 +88,8 @@
#endif
#define CHROMA (h->sps.chroma_format_idc)
-#define CHROMA422 (h->sps.chroma_format_idc == 2)
-#define CHROMA444 (h->sps.chroma_format_idc == 3)
+#define CHROMA422(h) (h->sps.chroma_format_idc == 2)
+#define CHROMA444(h) (h->sps.chroma_format_idc == 3)
#define EXTENDED_SAR 255