diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2014-12-15 21:27:05 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2014-12-15 21:27:10 +0100 |
commit | 38c3ffbd55deb91622a58d8e20b15d263aadf131 (patch) | |
tree | 75c675e884aa74af613d4cf35d32b151f5844bc7 /libavcodec/h264_slice.c | |
parent | 0a3ffcfc8224d38b3fe635d243ff1ec74df17c84 (diff) | |
parent | d75190aa93206c02cb4f18a66d2c927d6a0198e1 (diff) | |
download | ffmpeg-38c3ffbd55deb91622a58d8e20b15d263aadf131.tar.gz |
Merge commit 'd75190aa93206c02cb4f18a66d2c927d6a0198e1'
* commit 'd75190aa93206c02cb4f18a66d2c927d6a0198e1':
mpegvideo: move REBASE_PICTURE where it is used
Merged-by: Michael Niedermayer <michaelni@gmx.at>
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 53f61caa7d..216e96394d 100644 --- a/libavcodec/h264_slice.c +++ b/libavcodec/h264_slice.c @@ -443,7 +443,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) ? \ |