Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
X
x264
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Rellik Jaeger
x264
Commits
b093bbe7
Commit
b093bbe7
authored
2 years ago
by
Anton Mitrofanov
Browse files
Options
Downloads
Patches
Plain Diff
ffms: Fix crash if stream properties changes
parent
ed0f7a63
Branches
master
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
input/ffms.c
+4
-0
4 additions, 0 deletions
input/ffms.c
with
4 additions
and
0 deletions
input/ffms.c
+
4
−
0
View file @
b093bbe7
...
...
@@ -190,6 +190,10 @@ static int read_frame( cli_pic_t *pic, hnd_t handle, int i_frame )
memcpy
(
pic
->
img
.
stride
,
frame
->
Linesize
,
sizeof
(
pic
->
img
.
stride
)
);
memcpy
(
pic
->
img
.
plane
,
frame
->
Data
,
sizeof
(
pic
->
img
.
plane
)
);
int
is_fullrange
=
0
;
pic
->
img
.
width
=
frame
->
EncodedWidth
;
pic
->
img
.
height
=
frame
->
EncodedHeight
;
pic
->
img
.
csp
=
handle_jpeg
(
frame
->
EncodedPixelFormat
,
&
is_fullrange
)
|
X264_CSP_OTHER
;
if
(
h
->
vfr_input
)
{
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment