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
21a6f241
Commit
21a6f241
authored
Nov 12, 2006
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix a few warnings
parent
4484cb25
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
8 deletions
+8
-8
modules/codec/dmo/dmo.c
modules/codec/dmo/dmo.c
+8
-8
No files found.
modules/codec/dmo/dmo.c
View file @
21a6f241
...
@@ -855,7 +855,7 @@ static void *DecodeBlock( decoder_t *p_dec, block_t **pp_block )
...
@@ -855,7 +855,7 @@ static void *DecodeBlock( decoder_t *p_dec, block_t **pp_block )
{
{
if
(
i_result
!=
S_FALSE
)
if
(
i_result
!=
S_FALSE
)
msg_Dbg
(
p_dec
,
"ProcessOutput(): failed"
);
msg_Dbg
(
p_dec
,
"ProcessOutput(): failed"
);
#if DMO_DEBUG
#if
def
DMO_DEBUG
else
else
msg_Dbg
(
p_dec
,
"ProcessOutput(): no output"
);
msg_Dbg
(
p_dec
,
"ProcessOutput(): no output"
);
#endif
#endif
...
@@ -864,13 +864,13 @@ static void *DecodeBlock( decoder_t *p_dec, block_t **pp_block )
...
@@ -864,13 +864,13 @@ static void *DecodeBlock( decoder_t *p_dec, block_t **pp_block )
return
NULL
;
return
NULL
;
}
}
#if DMO_DEBUG
#if
def
DMO_DEBUG
msg_Dbg
(
p_dec
,
"ProcessOutput(): success"
);
msg_Dbg
(
p_dec
,
"ProcessOutput(): success"
);
#endif
#endif
if
(
!
block_out
.
i_buffer
)
if
(
!
block_out
.
i_buffer
)
{
{
#if DMO_DEBUG
#if
def
DMO_DEBUG
msg_Dbg
(
p_dec
,
"ProcessOutput(): no output (i_buffer_out == 0)"
);
msg_Dbg
(
p_dec
,
"ProcessOutput(): no output (i_buffer_out == 0)"
);
#endif
#endif
p_out
->
vt
->
Release
(
(
IUnknown
*
)
p_out
);
p_out
->
vt
->
Release
(
(
IUnknown
*
)
p_out
);
...
@@ -1492,7 +1492,7 @@ static block_t *EncodeBlock( encoder_t *p_enc, void *p_data )
...
@@ -1492,7 +1492,7 @@ static block_t *EncodeBlock( encoder_t *p_enc, void *p_data )
return
NULL
;
return
NULL
;
}
}
#if DMO_DEBUG
#if
def
DMO_DEBUG
msg_Dbg
(
p_enc
,
"ProcessInput(): success"
);
msg_Dbg
(
p_enc
,
"ProcessInput(): success"
);
#endif
#endif
...
@@ -1516,7 +1516,7 @@ static block_t *EncodeBlock( encoder_t *p_enc, void *p_data )
...
@@ -1516,7 +1516,7 @@ static block_t *EncodeBlock( encoder_t *p_enc, void *p_data )
{
{
if
(
i_result
!=
S_FALSE
)
if
(
i_result
!=
S_FALSE
)
msg_Dbg
(
p_enc
,
"ProcessOutput(): failed: %x"
,
i_result
);
msg_Dbg
(
p_enc
,
"ProcessOutput(): failed: %x"
,
i_result
);
#if DMO_DEBUG
#if
def
DMO_DEBUG
else
else
msg_Dbg
(
p_enc
,
"ProcessOutput(): no output"
);
msg_Dbg
(
p_enc
,
"ProcessOutput(): no output"
);
#endif
#endif
...
@@ -1528,7 +1528,7 @@ static block_t *EncodeBlock( encoder_t *p_enc, void *p_data )
...
@@ -1528,7 +1528,7 @@ static block_t *EncodeBlock( encoder_t *p_enc, void *p_data )
if
(
!
p_block_out
->
i_buffer
)
if
(
!
p_block_out
->
i_buffer
)
{
{
#if DMO_DEBUG
#if
def
DMO_DEBUG
msg_Dbg
(
p_enc
,
"ProcessOutput(): no output (i_buffer_out == 0)"
);
msg_Dbg
(
p_enc
,
"ProcessOutput(): no output (i_buffer_out == 0)"
);
#endif
#endif
p_out
->
vt
->
Release
(
(
IUnknown
*
)
p_out
);
p_out
->
vt
->
Release
(
(
IUnknown
*
)
p_out
);
...
@@ -1538,7 +1538,7 @@ static block_t *EncodeBlock( encoder_t *p_enc, void *p_data )
...
@@ -1538,7 +1538,7 @@ static block_t *EncodeBlock( encoder_t *p_enc, void *p_data )
if
(
db
.
dwStatus
&
DMO_OUTPUT_DATA_BUFFERF_TIME
)
if
(
db
.
dwStatus
&
DMO_OUTPUT_DATA_BUFFERF_TIME
)
{
{
#if DMO_DEBUG
#if
def
DMO_DEBUG
msg_Dbg
(
p_enc
,
"ProcessOutput(): pts: "
I64Fd
", "
I64Fd
,
msg_Dbg
(
p_enc
,
"ProcessOutput(): pts: "
I64Fd
", "
I64Fd
,
i_pts
,
db
.
rtTimestamp
/
10
);
i_pts
,
db
.
rtTimestamp
/
10
);
#endif
#endif
...
@@ -1548,7 +1548,7 @@ static block_t *EncodeBlock( encoder_t *p_enc, void *p_data )
...
@@ -1548,7 +1548,7 @@ static block_t *EncodeBlock( encoder_t *p_enc, void *p_data )
if
(
db
.
dwStatus
&
DMO_OUTPUT_DATA_BUFFERF_TIMELENGTH
)
if
(
db
.
dwStatus
&
DMO_OUTPUT_DATA_BUFFERF_TIMELENGTH
)
{
{
p_block_out
->
i_length
=
db
.
rtTimelength
/
10
;
p_block_out
->
i_length
=
db
.
rtTimelength
/
10
;
#if DMO_DEBUG
#if
def
DMO_DEBUG
msg_Dbg
(
p_enc
,
"ProcessOutput(): length: "
I64Fd
,
msg_Dbg
(
p_enc
,
"ProcessOutput(): length: "
I64Fd
,
p_block_out
->
i_length
);
p_block_out
->
i_length
);
#endif
#endif
...
...
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