Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-1.1
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-1.1
Commits
c985e796
Commit
c985e796
authored
Nov 27, 2004
by
Gildas Bazin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* modules/demux/mp4/*: bug fix for MP4_TrackNextSample() + added fourcc for amr-wb.
parent
9029e6b6
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
3 deletions
+8
-3
modules/demux/mp4/libmp4.c
modules/demux/mp4/libmp4.c
+1
-0
modules/demux/mp4/libmp4.h
modules/demux/mp4/libmp4.h
+1
-0
modules/demux/mp4/mp4.c
modules/demux/mp4/mp4.c
+6
-3
No files found.
modules/demux/mp4/libmp4.c
View file @
c985e796
...
...
@@ -2142,6 +2142,7 @@ static struct
{
FOURCC_MAC6
,
MP4_ReadBox_sample_soun
,
MP4_FreeBox_sample_soun
},
{
FOURCC_Qclp
,
MP4_ReadBox_sample_soun
,
MP4_FreeBox_sample_soun
},
{
FOURCC_samr
,
MP4_ReadBox_sample_soun
,
MP4_FreeBox_sample_soun
},
{
FOURCC_sawb
,
MP4_ReadBox_sample_soun
,
MP4_FreeBox_sample_soun
},
{
FOURCC_OggS
,
MP4_ReadBox_sample_soun
,
MP4_FreeBox_sample_soun
},
{
FOURCC_vide
,
MP4_ReadBox_sample_vide
,
MP4_FreeBox_sample_vide
},
...
...
modules/demux/mp4/libmp4.h
View file @
c985e796
...
...
@@ -110,6 +110,7 @@
#define FOURCC_ulaw VLC_FOURCC( 'u', 'l', 'a', 'w' )
#define FOURCC_Qclp VLC_FOURCC( 'Q', 'c', 'l', 'p' )
#define FOURCC_samr VLC_FOURCC( 's', 'a', 'm', 'r' )
#define FOURCC_sawb VLC_FOURCC( 's', 'a', 'w', 'b' )
#define FOURCC_OggS VLC_FOURCC( 'O', 'g', 'g', 'S' )
#define FOURCC_zlib VLC_FOURCC( 'z', 'l', 'i', 'b' )
...
...
modules/demux/mp4/mp4.c
View file @
c985e796
...
...
@@ -1986,8 +1986,7 @@ static uint64_t MP4_TrackGetPos( mp4_track_t *p_track )
return
(
i_pos
);
}
static
int
MP4_TrackNextSample
(
demux_t
*
p_demux
,
mp4_track_t
*
p_track
)
static
int
MP4_TrackNextSample
(
demux_t
*
p_demux
,
mp4_track_t
*
p_track
)
{
if
(
p_track
->
fmt
.
i_cat
==
AUDIO_ES
&&
...
...
@@ -1997,7 +1996,11 @@ static int MP4_TrackNextSample( demux_t *p_demux,
p_soun
=
p_track
->
p_sample
->
data
.
p_sample_soun
;
if
(
p_soun
->
i_qt_version
==
1
)
if
(
p_track
->
i_sample_size
!=
1
)
{
p_track
->
i_sample
+=
1
;
}
else
if
(
p_soun
->
i_qt_version
==
1
)
{
/* chunk by chunk */
p_track
->
i_sample
=
...
...
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