Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc
Commits
4a37004b
Commit
4a37004b
authored
Jul 07, 2014
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
rawvid: fix error handling
parent
828eb5fe
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
modules/demux/rawvid.c
modules/demux/rawvid.c
+3
-2
No files found.
modules/demux/rawvid.c
View file @
4a37004b
...
...
@@ -190,13 +190,14 @@ valid:
/* override presets if yuv4mpeg2 */
if
(
b_y4m
)
{
/* The string should start with "YUV4MPEG2" */
char
*
psz
=
stream_ReadLine
(
p_demux
->
s
);
char
*
psz_buf
;
int
a
=
1
;
int
b
=
1
;
/* The string will start with "YUV4MPEG2" */
assert
(
strlen
(
psz
)
>=
9
)
;
if
(
unlikely
(
psz
==
NULL
)
)
goto
error
;
/* NB, it is not possible to handle interlaced here, since the
* interlaced picture flags are in picture_t not block_t */
...
...
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