Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-gpu
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-gpu
Commits
5538983b
Commit
5538983b
authored
Mar 12, 2006
by
Clément Stenac
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove buggy debug
parent
5ac87d09
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
6 deletions
+1
-6
modules/demux/nsv.c
modules/demux/nsv.c
+1
-6
No files found.
modules/demux/nsv.c
View file @
5538983b
...
@@ -154,7 +154,6 @@ static int Demux( demux_t *p_demux )
...
@@ -154,7 +154,6 @@ static int Demux( demux_t *p_demux )
msg_Warn
(
p_demux
,
"cannot peek"
);
msg_Warn
(
p_demux
,
"cannot peek"
);
return
0
;
return
0
;
}
}
fprintf
(
stderr
,
"4 first bytes Signature %x: %c%c%c%c
\n
"
,
*
(
uint32_t
*
)
p_peek
,
p_peek
[
0
],
p_peek
[
1
],
p_peek
[
2
],
p_peek
[
3
]
);
if
(
!
strncmp
(
(
char
*
)
p_peek
,
"NSVf"
,
4
)
)
if
(
!
strncmp
(
(
char
*
)
p_peek
,
"NSVf"
,
4
)
)
{
{
...
@@ -173,7 +172,6 @@ static int Demux( demux_t *p_demux )
...
@@ -173,7 +172,6 @@ static int Demux( demux_t *p_demux )
}
}
else
if
(
GetWLE
(
p_peek
)
==
0xbeef
)
else
if
(
GetWLE
(
p_peek
)
==
0xbeef
)
{
{
fprintf
(
stderr
,
"Next frame
\n
"
);
/* Next frame of the current NSVs chunk */
/* Next frame of the current NSVs chunk */
if
(
stream_Read
(
p_demux
->
s
,
NULL
,
2
)
<
2
)
if
(
stream_Read
(
p_demux
->
s
,
NULL
,
2
)
<
2
)
{
{
...
@@ -189,7 +187,6 @@ static int Demux( demux_t *p_demux )
...
@@ -189,7 +187,6 @@ static int Demux( demux_t *p_demux )
{
{
return
-
1
;
return
-
1
;
}
}
fprintf
(
stderr
,
"Resynchronized
\n
"
);
}
}
}
}
...
@@ -396,16 +393,14 @@ static int ReSynch( demux_t *p_demux )
...
@@ -396,16 +393,14 @@ static int ReSynch( demux_t *p_demux )
return
VLC_EGENERIC
;
return
VLC_EGENERIC
;
}
}
i_skip
=
0
;
i_skip
=
0
;
fprintf
(
stderr
,
"Poke %i resync bytes
\n
"
,
i_peek
);
while
(
i_skip
<
i_peek
-
4
)
while
(
i_skip
<
i_peek
-
4
)
{
{
if
(
!
strncmp
(
(
char
*
)
p_peek
,
"NSVf"
,
4
)
if
(
!
strncmp
(
(
char
*
)
p_peek
,
"NSVf"
,
4
)
||
!
strncmp
(
(
char
*
)
p_peek
,
"NSVs"
,
4
)
)
||
!
strncmp
(
(
char
*
)
p_peek
,
"NSVs"
,
4
)
)
{
{
fprintf
(
stderr
,
"Found NSVx chunk after %i
\n
"
,
i_skip
);
if
(
i_skip
>
0
)
if
(
i_skip
>
0
)
{
{
fprintf
(
stderr
,
"Skipping %i bytes
\n
"
,
i_skip
);
stream_Read
(
p_demux
->
s
,
NULL
,
i_skip
);
stream_Read
(
p_demux
->
s
,
NULL
,
i_skip
);
}
}
return
VLC_SUCCESS
;
return
VLC_SUCCESS
;
...
...
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