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
c67a6287
Commit
c67a6287
authored
Jul 29, 2012
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Avformat: kill parenthesis and variable type warnings
parent
e2381bf9
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
modules/demux/avformat/demux.c
modules/demux/avformat/demux.c
+2
-2
No files found.
modules/demux/avformat/demux.c
View file @
c67a6287
...
...
@@ -143,7 +143,7 @@ int OpenDemux( vlc_object_t *p_this )
char
*
psz_format
=
var_InheritString
(
p_this
,
"avformat-format"
);
if
(
psz_format
)
{
if
(
fmt
=
av_find_input_format
(
psz_format
)
)
if
(
(
fmt
=
av_find_input_format
(
psz_format
)
)
)
msg_Dbg
(
p_demux
,
"forcing format: %s"
,
fmt
->
name
);
free
(
psz_format
);
}
...
...
@@ -670,7 +670,7 @@ static int Demux( demux_t *p_demux )
p_stream
->
time_base
.
num
/
p_stream
->
time_base
.
den
;
if
(
pkt
.
dts
!=
AV_NOPTS_VALUE
&&
pkt
.
dts
==
pkt
.
pts
&&
if
(
pkt
.
dts
!=
(
int64_t
)
AV_NOPTS_VALUE
&&
pkt
.
dts
==
pkt
.
pts
&&
p_stream
->
codec
->
codec_type
==
AVMEDIA_TYPE_VIDEO
)
{
/* Add here notoriously bugged file formats/samples regarding PTS */
...
...
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