Commit 9e696d2e authored by Janne Grunau's avatar Janne Grunau

h264: support frame parameter changes during frame-mt

Fixes CVE-2012-2782.
parent f1d8763a
This diff is collapsed.
......@@ -448,6 +448,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];
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment