Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
F
ffmpeg.wasm-core
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Linshizhi
ffmpeg.wasm-core
Commits
e013abed
Commit
e013abed
authored
May 15, 2012
by
Carl Eugen Hoyos
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Read and write APRG mov atom to allow AVUI streamcopy.
parent
c457a29e
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
0 deletions
+8
-0
mov.c
libavformat/mov.c
+6
-0
movenc.c
libavformat/movenc.c
+2
-0
No files found.
libavformat/mov.c
View file @
e013abed
...
...
@@ -1006,6 +1006,11 @@ static int mov_read_jp2h(MOVContext *c, AVIOContext *pb, MOVAtom atom)
return
mov_read_extradata
(
c
,
pb
,
atom
,
CODEC_ID_JPEG2000
);
}
static
int
mov_read_aprg
(
MOVContext
*
c
,
AVIOContext
*
pb
,
MOVAtom
atom
)
{
return
mov_read_extradata
(
c
,
pb
,
atom
,
CODEC_ID_AVUI
);
}
static
int
mov_read_wave
(
MOVContext
*
c
,
AVIOContext
*
pb
,
MOVAtom
atom
)
{
AVStream
*
st
;
...
...
@@ -2585,6 +2590,7 @@ static int mov_read_chan2(MOVContext *c, AVIOContext *pb, MOVAtom atom)
}
static
const
MOVParseTableEntry
mov_default_parse_table
[]
=
{
{
MKTAG
(
'A'
,
'P'
,
'R'
,
'G'
),
mov_read_aprg
},
{
MKTAG
(
'a'
,
'v'
,
's'
,
's'
),
mov_read_avss
},
{
MKTAG
(
'c'
,
'h'
,
'p'
,
'l'
),
mov_read_chpl
},
{
MKTAG
(
'c'
,
'o'
,
'6'
,
'4'
),
mov_read_stco
},
...
...
libavformat/movenc.c
View file @
e013abed
...
...
@@ -1070,6 +1070,8 @@ static int mov_write_video_tag(AVIOContext *pb, MOVTrack *track)
mov_write_d263_tag
(
pb
);
else
if
(
track
->
enc
->
codec_id
==
CODEC_ID_SVQ3
)
mov_write_svq3_tag
(
pb
);
else
if
(
track
->
enc
->
codec_id
==
CODEC_ID_AVUI
)
mov_write_extradata_tag
(
pb
,
track
);
else
if
(
track
->
enc
->
codec_id
==
CODEC_ID_DNXHD
)
mov_write_avid_tag
(
pb
,
track
);
else
if
(
track
->
enc
->
codec_id
==
CODEC_ID_H264
)
{
...
...
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