summaryrefslogtreecommitdiff
path: root/libavcodec/h264.h
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2013-03-09 20:37:11 +0100
committerAnton Khirnov <anton@khirnov.net>2013-03-21 10:20:58 +0100
commite962bd08ee4b087d36ab0d7d7b3c90a642d46b3e (patch)
tree9c191d729812a0dfa18dc62e645178ffd8b65995 /libavcodec/h264.h
parent6d2b6f21eb45ffbda1103c772060303648714832 (diff)
h264: add a parameter to the CHROMA422 macro.
This way it does not look like a constant.
Diffstat (limited to 'libavcodec/h264.h')
-rw-r--r--libavcodec/h264.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/h264.h b/libavcodec/h264.h
index 1ea788d370..ca94b3b5bb 100644
--- a/libavcodec/h264.h
+++ b/libavcodec/h264.h
@@ -85,7 +85,7 @@
#define CABAC(h) h->pps.cabac
#endif
-#define CHROMA422 (h->sps.chroma_format_idc == 2)
+#define CHROMA422(h) (h->sps.chroma_format_idc == 2)
#define CHROMA444 (h->sps.chroma_format_idc == 3)
#define EXTENDED_SAR 255