Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
F
ffmpeg.wasm-core
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Linshizhi
ffmpeg.wasm-core
Commits
9e696d2e
Commit
9e696d2e
authored
Sep 06, 2012
by
Janne Grunau
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
h264: support frame parameter changes during frame-mt
Fixes CVE-2012-2782.
parent
f1d8763a
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
230 additions
and
127 deletions
+230
-127
h264.c
libavcodec/h264.c
+228
-127
h264.h
libavcodec/h264.h
+2
-0
No files found.
libavcodec/h264.c
View file @
9e696d2e
This diff is collapsed.
Click to expand it.
libavcodec/h264.h
View file @
9e696d2e
...
@@ -448,6 +448,8 @@ typedef struct H264Context {
...
@@ -448,6 +448,8 @@ typedef struct H264Context {
int
nal_length_size
;
///< Number of bytes used for nal length (1, 2 or 4)
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
got_first
;
///< this flag is != 0 if we've parsed a frame
int
context_reinitialized
;
SPS
*
sps_buffers
[
MAX_SPS_COUNT
];
SPS
*
sps_buffers
[
MAX_SPS_COUNT
];
PPS
*
pps_buffers
[
MAX_PPS_COUNT
];
PPS
*
pps_buffers
[
MAX_PPS_COUNT
];
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment