summaryrefslogtreecommitdiffstats
path: root/libavcodec/h264.h
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2014-07-31 16:25:21 +0200
committerMichael Niedermayer <michaelni@gmx.at>2014-07-31 16:39:04 +0200
commit0782fb6bcb32fe3ab956a99af4cc472ff81da0c2 (patch)
treeb235bddafccf388eff7e468f0ac857693e947790 /libavcodec/h264.h
parentbf428bb3145c4f0eef32f8ef00de0ee222b3e414 (diff)
downloadffmpeg-streaming-0782fb6bcb32fe3ab956a99af4cc472ff81da0c2.zip
ffmpeg-streaming-0782fb6bcb32fe3ab956a99af4cc472ff81da0c2.tar.gz
libavcodec/h264_parser: Increase parse_history, fix huge resolutions
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/h264.h')
-rw-r--r--libavcodec/h264.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/h264.h b/libavcodec/h264.h
index 00f8b7f..5ec4f0c 100644
--- a/libavcodec/h264.h
+++ b/libavcodec/h264.h
@@ -749,7 +749,7 @@ typedef struct H264Context {
int16_t slice_row[MAX_SLICES]; ///< to detect when MAX_SLICES is too low
- uint8_t parse_history[4];
+ uint8_t parse_history[6];
int parse_history_count;
int parse_last_mb;
uint8_t *edge_emu_buffer;
OpenPOWER on IntegriCloud