diff options
author | Vittorio Giovara <vittorio.giovara@gmail.com> | 2014-12-09 16:47:53 +0000 |
---|---|---|
committer | Vittorio Giovara <vittorio.giovara@gmail.com> | 2014-12-15 15:46:34 +0100 |
commit | d75190aa93206c02cb4f18a66d2c927d6a0198e1 (patch) | |
tree | 348f19ef22c3df732596d44353462e17fc8c4f1e /libavcodec/h264_slice.c | |
parent | 63fcedcf01247f15b72c0d1f959bb3b612853ba8 (diff) | |
download | ffmpeg-d75190aa93206c02cb4f18a66d2c927d6a0198e1.tar.gz |
mpegvideo: move REBASE_PICTURE where it is used
Drop an unused #undef from h264 decoder.
Diffstat (limited to 'libavcodec/h264_slice.c')
-rw-r--r-- | libavcodec/h264_slice.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/h264_slice.c b/libavcodec/h264_slice.c index 42d0c95c70..9169ff4a19 100644 --- a/libavcodec/h264_slice.c +++ b/libavcodec/h264_slice.c @@ -422,7 +422,7 @@ static void clone_tables(H264Context *dst, H264Context *src, int i) } #define IN_RANGE(a, b, size) (((a) >= (b)) && ((a) < ((b) + (size)))) -#undef REBASE_PICTURE + #define REBASE_PICTURE(pic, new_ctx, old_ctx) \ ((pic && pic >= old_ctx->DPB && \ pic < old_ctx->DPB + H264_MAX_PICTURE_COUNT) ? \ |