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
a64a030b
Commit
a64a030b
authored
May 28, 2016
by
Carl Eugen Hoyos
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lavf/mov: Support one more Avid compression id for AVCI50.
Reported by forum user lexidata.
parent
86d703fd
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
2 deletions
+4
-2
mov.c
libavformat/mov.c
+3
-1
version.h
libavformat/version.h
+1
-1
No files found.
libavformat/mov.c
View file @
a64a030b
...
@@ -1473,9 +1473,11 @@ static int mov_read_ares(MOVContext *c, AVIOContext *pb, MOVAtom atom)
...
@@ -1473,9 +1473,11 @@ static int mov_read_ares(MOVContext *c, AVIOContext *pb, MOVAtom atom)
if
(
par
->
codec_tag
==
MKTAG
(
'A'
,
'V'
,
'i'
,
'n'
)
&&
if
(
par
->
codec_tag
==
MKTAG
(
'A'
,
'V'
,
'i'
,
'n'
)
&&
par
->
codec_id
==
AV_CODEC_ID_H264
&&
par
->
codec_id
==
AV_CODEC_ID_H264
&&
atom
.
size
>
11
)
{
atom
.
size
>
11
)
{
int
cid
;
avio_skip
(
pb
,
10
);
avio_skip
(
pb
,
10
);
cid
=
avio_rb16
(
pb
);
/* For AVID AVCI50, force width of 1440 to be able to select the correct SPS and PPS */
/* For AVID AVCI50, force width of 1440 to be able to select the correct SPS and PPS */
if
(
avio_rb16
(
pb
)
==
0xd4d
)
if
(
cid
==
0xd4d
||
cid
==
0xd4e
)
par
->
width
=
1440
;
par
->
width
=
1440
;
return
0
;
return
0
;
}
else
if
(
par
->
codec_tag
==
MKTAG
(
'A'
,
'V'
,
'd'
,
'1'
)
&&
}
else
if
(
par
->
codec_tag
==
MKTAG
(
'A'
,
'V'
,
'd'
,
'1'
)
&&
...
...
libavformat/version.h
View file @
a64a030b
...
@@ -31,7 +31,7 @@
...
@@ -31,7 +31,7 @@
#define LIBAVFORMAT_VERSION_MAJOR 57
#define LIBAVFORMAT_VERSION_MAJOR 57
#define LIBAVFORMAT_VERSION_MINOR 37
#define LIBAVFORMAT_VERSION_MINOR 37
#define LIBAVFORMAT_VERSION_MICRO 10
0
#define LIBAVFORMAT_VERSION_MICRO 10
1
#define LIBAVFORMAT_VERSION_INT AV_VERSION_INT(LIBAVFORMAT_VERSION_MAJOR, \
#define LIBAVFORMAT_VERSION_INT AV_VERSION_INT(LIBAVFORMAT_VERSION_MAJOR, \
LIBAVFORMAT_VERSION_MINOR, \
LIBAVFORMAT_VERSION_MINOR, \
...
...
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