summaryrefslogtreecommitdiff
path: root/libavcodec/h264.h
diff options
context:
space:
mode:
authorJanne Grunau <janne-libav@jannau.net>2012-12-12 16:42:05 +0100
committerJanne Grunau <janne-libav@jannau.net>2012-12-13 21:02:42 +0100
commit6a27ae28f9bde981e85c82cf5bf42c5f43fb6f13 (patch)
treed572b54b3b0cedc247f28dfc9fa2b94929c71483 /libavcodec/h264.h
parentbd255f9feb4deea4c990e582f0ba3b90d7b64b4c (diff)
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.h6
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 */