Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
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-2-2
Commits
964fc34b
Commit
964fc34b
authored
Mar 27, 2011
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Nuv: remove write-only variable
parent
f1cead7f
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
6 deletions
+1
-6
modules/demux/nuv.c
modules/demux/nuv.c
+1
-6
No files found.
modules/demux/nuv.c
View file @
964fc34b
...
@@ -208,7 +208,6 @@ static int Open( vlc_object_t * p_this )
...
@@ -208,7 +208,6 @@ static int Open( vlc_object_t * p_this )
demux_sys_t
*
p_sys
;
demux_sys_t
*
p_sys
;
const
uint8_t
*
p_peek
;
const
uint8_t
*
p_peek
;
frame_header_t
fh
;
frame_header_t
fh
;
bool
b_extended
;
/* Check id */
/* Check id */
if
(
stream_Peek
(
p_demux
->
s
,
&
p_peek
,
12
)
!=
12
||
if
(
stream_Peek
(
p_demux
->
s
,
&
p_peek
,
12
)
!=
12
||
...
@@ -270,8 +269,6 @@ static int Open( vlc_object_t * p_this )
...
@@ -270,8 +269,6 @@ static int Open( vlc_object_t * p_this )
goto
error
;
goto
error
;
if
(
p_peek
[
0
]
==
'X'
)
if
(
p_peek
[
0
]
==
'X'
)
{
{
b_extended
=
true
;
if
(
FrameHeaderLoad
(
p_demux
,
&
fh
)
)
if
(
FrameHeaderLoad
(
p_demux
,
&
fh
)
)
goto
error
;
goto
error
;
if
(
fh
.
i_length
!=
512
)
if
(
fh
.
i_length
!=
512
)
...
@@ -290,11 +287,9 @@ static int Open( vlc_object_t * p_this )
...
@@ -290,11 +287,9 @@ static int Open( vlc_object_t * p_this )
}
}
else
else
{
{
b_extended
=
false
;
/* XXX: for now only file with extended chunk are supported
/* XXX: for now only file with extended chunk are supported
* why: because else we need to have support for rtjpeg+stupid nuv shit */
* why: because else we need to have support for rtjpeg+stupid nuv shit */
msg_Err
(
p_demux
,
"
incomplete NUV support (
upload samples)"
);
msg_Err
(
p_demux
,
"
VLC doesn't support NUV without extended chunks (please
upload samples)"
);
goto
error
;
goto
error
;
}
}
...
...
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