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-12 08:06:43 +0400
committerMichael Niedermayer <michaelni@gmx.at>2011-09-12 08:07:58 +0400
commit716c1f7b2ad02a906ad1e47182492554b668f3dc (patch)
treebbe18faea975b5edcf3d6cbd97bf1bc58817129c /libavcodec/h264.h
parentad2fba8619223fc9ba9a482666115da87ee14fb8 (diff)
h264: improve MAX_SLICES too small check so it gives less false positives.
Fixes Ticket273 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 e956d3a339..374cd163ec 100644
--- a/libavcodec/h264.h
+++ b/libavcodec/h264.h
@@ -580,6 +580,8 @@ typedef struct H264Context{
int initial_cpb_removal_delay[32]; ///< Initial timestamps for CPBs
int cur_chroma_format_idc;
+
+ int16_t slice_row[MAX_SLICES]; ///< to detect when MAX_SLICES is too low
}H264Context;