summaryrefslogtreecommitdiff
path: root/libavcodec/mpegvideo.h
diff options
context:
space:
mode:
authorLuca Barbato <lu_zero@gentoo.org>2011-11-28 00:31:51 +0100
committerLuca Barbato <lu_zero@gentoo.org>2011-12-13 16:20:58 +0100
commit5bf2ac2b37ae17df7f2bd541801bec8c049b8d2c (patch)
treea5dff0e8d6630443ce7b4d2886515cd30446df86 /libavcodec/mpegvideo.h
parent878dda5db12b6f84cc9fb37c5c88b94a5be61a24 (diff)
error_resilience: use the ER_ namespace
Add the namespace to {AC_,DC_,MV_}{END,ERROR} macros Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
Diffstat (limited to 'libavcodec/mpegvideo.h')
-rw-r--r--libavcodec/mpegvideo.h13
1 files changed, 6 insertions, 7 deletions
diff --git a/libavcodec/mpegvideo.h b/libavcodec/mpegvideo.h
index d0d1dc7748..704535d073 100644
--- a/libavcodec/mpegvideo.h
+++ b/libavcodec/mpegvideo.h
@@ -474,13 +474,12 @@ typedef struct MpegEncContext {
int error_count, error_occurred;
uint8_t *error_status_table; ///< table of the error status of each MB
#define VP_START 1 ///< current MB is the first after a resync marker
-#define AC_ERROR 2
-#define DC_ERROR 4
-#define MV_ERROR 8
-#define AC_END 16
-#define DC_END 32
-#define MV_END 64
-//FIXME some prefix?
+#define ER_AC_ERROR 2
+#define ER_DC_ERROR 4
+#define ER_MV_ERROR 8
+#define ER_AC_END 16
+#define ER_DC_END 32
+#define ER_MV_END 64
int resync_mb_x; ///< x position of last resync marker
int resync_mb_y; ///< y position of last resync marker