Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2011-09-17 21:59:48 +0400
committerMichael Niedermayer <michaelni@gmx.at>2011-09-17 23:20:44 +0400
commita64b028aeb6579636e578ceb73f69b468bddb2f0 (patch)
treed370e53104f62637b4f755a6225c43cdf5af09ec /libavcodec/h264.h
parent35f38b3ab9d755aede5bce8abbe1cb9c07027f8a (diff)
h264dec: Dont display trash before a keyframe.
Fixes Ticket472 This may (or may not) cause problems with files that have no keyframes. Plese open a bugreport or mail me if you have a file for which this fails. 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 374cd163ec..ed4afdddfa 100644
--- a/libavcodec/h264.h
+++ b/libavcodec/h264.h
@@ -582,6 +582,8 @@ typedef struct H264Context{
int cur_chroma_format_idc;
int16_t slice_row[MAX_SLICES]; ///< to detect when MAX_SLICES is too low
+
+ int sync; ///< did we had a keyframe or recovery point
}H264Context;