summaryrefslogtreecommitdiffstats
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:48 +0100
commita6931d8ecea17aa232157f89abdbe7afbb93a8db (patch)
tree7630ff67a82e4034411ac0c96ed7a3611619bf81 /libavcodec/h264.h
parent7fa00653a550c0d24b3951c0f9fed6350ecf5ce4 (diff)
downloadffmpeg-streaming-a6931d8ecea17aa232157f89abdbe7afbb93a8db.zip
ffmpeg-streaming-a6931d8ecea17aa232157f89abdbe7afbb93a8db.tar.gz
h264: add a parameter to the FIELD_OR_MBAFF_PICTURE 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 66708c0..7218cb7 100644
--- a/libavcodec/h264.h
+++ b/libavcodec/h264.h
@@ -79,7 +79,7 @@
#define LBOT 0
#define LEFT(i) 0
#endif
-#define FIELD_OR_MBAFF_PICTURE (FRAME_MBAFF(h) || FIELD_PICTURE(h))
+#define FIELD_OR_MBAFF_PICTURE(h) (FRAME_MBAFF(h) || FIELD_PICTURE(h))
#ifndef CABAC
#define CABAC h->pps.cabac
OpenPOWER on IntegriCloud