diff options
author | Janne Grunau <janne-libav@jannau.net> | 2012-12-12 16:42:05 +0100 |
---|---|---|
committer | Janne Grunau <janne-libav@jannau.net> | 2012-12-13 21:02:42 +0100 |
commit | 6a27ae28f9bde981e85c82cf5bf42c5f43fb6f13 (patch) | |
tree | d572b54b3b0cedc247f28dfc9fa2b94929c71483 /libavcodec/h264.h | |
parent | bd255f9feb4deea4c990e582f0ba3b90d7b64b4c (diff) | |
download | ffmpeg-6a27ae28f9bde981e85c82cf5bf42c5f43fb6f13.tar.gz |
mpegvideo: treat delayed pictures as used
This requires to move the avcodec_default_free_buffers() call to
ff_MPV_common_end() since otherwise delayed pictures would get freed
during a size change.
Diffstat (limited to 'libavcodec/h264.h')
-rw-r--r-- | libavcodec/h264.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/libavcodec/h264.h b/libavcodec/h264.h index 17f63c4b5b..3c99030ed2 100644 --- a/libavcodec/h264.h +++ b/libavcodec/h264.h @@ -95,12 +95,6 @@ #define IS_REF0(a) ((a) & MB_TYPE_REF0) #define IS_8x8DCT(a) ((a) & MB_TYPE_8x8DCT) -/** - * Value of Picture.reference when Picture is not a reference picture, but - * is held for delayed output. - */ -#define DELAYED_PIC_REF 4 - #define QP_MAX_NUM (51 + 2 * 6) // The maximum supported qp /* NAL unit types */ |