diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2012-12-19 18:46:48 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2012-12-19 21:46:11 +0100 |
commit | c2dfb1e37cc72bf144545c4410a4621cbff5c4b1 (patch) | |
tree | 17406f9f4b3a194ce91318e69264a943a3dfd85f /libavcodec/h264.h | |
parent | 7e6c68394f23a9860bdf96f3bd5ab15e24e3f899 (diff) | |
download | ffmpeg-c2dfb1e37cc72bf144545c4410a4621cbff5c4b1.tar.gz |
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.h | 2 |
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]; |