diff options
author | Luca Barbato <lu_zero@gentoo.org> | 2011-11-28 03:31:52 +0400 |
---|---|---|
committer | Luca Barbato <lu_zero@gentoo.org> | 2011-12-13 19:20:58 +0400 |
commit | 63ccd466873b0863d466f5846a305eb908fe3b80 (patch) | |
tree | 621431453b05ed6dab391e13ec28ad8ca4e33e33 /libavcodec/mpegvideo.h | |
parent | 5bf2ac2b37ae17df7f2bd541801bec8c049b8d2c (diff) |
lavc: introduce ER_MB_END and ER_MB_ERROR
Simplify a little error resilience calls
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
Diffstat (limited to 'libavcodec/mpegvideo.h')
-rw-r--r-- | libavcodec/mpegvideo.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libavcodec/mpegvideo.h b/libavcodec/mpegvideo.h index 704535d073..38bbd123ee 100644 --- a/libavcodec/mpegvideo.h +++ b/libavcodec/mpegvideo.h @@ -481,6 +481,9 @@ typedef struct MpegEncContext { #define ER_DC_END 32 #define ER_MV_END 64 +#define ER_MB_ERROR (ER_AC_ERROR|ER_DC_ERROR|ER_MV_ERROR) +#define ER_MB_END (ER_AC_END|ER_DC_END|ER_MV_END) + int resync_mb_x; ///< x position of last resync marker int resync_mb_y; ///< y position of last resync marker GetBitContext last_resync_gb; ///< used to search for the next resync marker |