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-10-27 19:53:29 +0400
committerMichael Niedermayer <michaelni@gmx.at>2011-10-27 19:53:29 +0400
commit4ffed61b4938d9a3371ca9d4af0be578546a4ae0 (patch)
tree16bf6d545fed647ae74251c7d75e9d6b66abc143 /libavcodec/h264.h
parent23040e2e3dafbe99a37e70c854073a102b8a7f46 (diff)
h264_parser: fully parse first_mb_in_slice to more reliably detect AU boundaries.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/h264.h')
-rw-r--r--libavcodec/h264.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/libavcodec/h264.h b/libavcodec/h264.h
index f4a463310e..63ed3573cb 100644
--- a/libavcodec/h264.h
+++ b/libavcodec/h264.h
@@ -591,6 +591,10 @@ typedef struct H264Context{
int16_t slice_row[MAX_SLICES]; ///< to detect when MAX_SLICES is too low
int sync; ///< did we had a keyframe or recovery point
+
+ uint8_t parse_history[4];
+ int parse_history_count;
+ int parse_last_mb;
}H264Context;