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/mpegvideo.h | |
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/mpegvideo.h')
-rw-r--r-- | libavcodec/mpegvideo.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/libavcodec/mpegvideo.h b/libavcodec/mpegvideo.h index f1047a013b..ac077b3269 100644 --- a/libavcodec/mpegvideo.h +++ b/libavcodec/mpegvideo.h @@ -659,11 +659,6 @@ typedef struct MpegEncContext { AVFrame *tmp_frames[MAX_B_FRAMES + 2]; } MpegEncContext; -#define REBASE_PICTURE(pic, new_ctx, old_ctx) \ - ((pic && pic >= old_ctx->picture && \ - pic < old_ctx->picture + MAX_PICTURE_COUNT) ? \ - &new_ctx->picture[pic - old_ctx->picture] : NULL) - /* mpegvideo_enc common options */ #define FF_MPV_FLAG_SKIP_RD 0x0001 #define FF_MPV_FLAG_STRICT_GOP 0x0002 |