aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/h264.h
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2014-06-04 04:25:14 +0200
committerMichael Niedermayer <michaelni@gmx.at>2014-06-04 04:25:14 +0200
commit19c9d1e8e71da04c3ac940206619c0a2d01e5193 (patch)
treeb88e36b6c3c445a088eeed32b216f5eed21ef659 /libavcodec/h264.h
parentfbaf73a33d505a32431ede6599f5b742ade045e1 (diff)
downloadffmpeg-19c9d1e8e71da04c3ac940206619c0a2d01e5193.tar.gz
avcodec/h264: in the absence of recovery points, be more tolerant on accepting plain I frames
Fixes: Ticket3652 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/h264.h')
-rw-r--r--libavcodec/h264.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/libavcodec/h264.h b/libavcodec/h264.h
index a25b5785a9..c057c9709d 100644
--- a/libavcodec/h264.h
+++ b/libavcodec/h264.h
@@ -727,6 +727,8 @@ typedef struct H264Context {
int frame_recovered; ///< Initial frame has been completely recovered
+ int has_recovery_point;
+
int luma_weight_flag[2]; ///< 7.4.3.2 luma_weight_lX_flag
int chroma_weight_flag[2]; ///< 7.4.3.2 chroma_weight_lX_flag