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
22bf3807
Commit
22bf3807
authored
Jan 13, 2004
by
Laurent Aimar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* mp4: fixed playback for files that have 0 byte samples.
parent
9f6937b1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
modules/demux/mp4/mp4.c
modules/demux/mp4/mp4.c
+3
-2
No files found.
modules/demux/mp4/mp4.c
View file @
22bf3807
...
...
@@ -2,7 +2,7 @@
* mp4.c : MP4 file input module for vlc
*****************************************************************************
* Copyright (C) 2001 VideoLAN
* $Id: mp4.c,v 1.5
0 2004/01/09 04:37:43 jlj
Exp $
* $Id: mp4.c,v 1.5
1 2004/01/13 01:44:49 fenrir
Exp $
* Authors: Laurent Aimar <fenrir@via.ecp.fr>
*
* This program is free software; you can redistribute it and/or modify
...
...
@@ -432,7 +432,8 @@ static int Demux( input_thread_t *p_input )
while
(
MP4_GetTrackPTS
(
&
track
)
<
MP4_GetMoviePTS
(
p_sys
)
)
{
if
(
!
b_play_audio
&&
track
.
fmt
.
i_cat
==
AUDIO_ES
)
if
(
(
!
b_play_audio
&&
track
.
fmt
.
i_cat
==
AUDIO_ES
)
||
MP4_TrackSampleSize
(
&
track
)
<=
0
)
{
if
(
MP4_TrackNextSample
(
p_input
,
&
track
)
)
{
...
...
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