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>2012-12-19 21:46:48 +0400
committerMichael Niedermayer <michaelni@gmx.at>2012-12-20 00:46:11 +0400
commitc2dfb1e37cc72bf144545c4410a4621cbff5c4b1 (patch)
tree17406f9f4b3a194ce91318e69264a943a3dfd85f /libavcodec/h264.h
parent7e6c68394f23a9860bdf96f3bd5ab15e24e3f899 (diff)
h264: support frame size changes with multi threading
Based on code by Janne Grunau 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 24c21de1e8..3355d05e97 100644
--- a/libavcodec/h264.h
+++ b/libavcodec/h264.h
@@ -452,6 +452,8 @@ typedef struct H264Context {
int nal_length_size; ///< Number of bytes used for nal length (1, 2 or 4)
int got_first; ///< this flag is != 0 if we've parsed a frame
+ int context_reinitialized;
+
SPS *sps_buffers[MAX_SPS_COUNT];
PPS *pps_buffers[MAX_PPS_COUNT];