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
d4d74707
Commit
d4d74707
authored
Mar 06, 2020
by
Paul B Mahol
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avformat/avidec: recognize H265 fourcc as hevc
Fixes decoding of came2_2020-01-13__20-38-58_21-00-00__Chn2.avi
parent
f0349df7
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
0 deletions
+4
-0
avidec.c
libavformat/avidec.c
+3
-0
riff.c
libavformat/riff.c
+1
-0
No files found.
libavformat/avidec.c
View file @
d4d74707
...
...
@@ -832,6 +832,9 @@ FF_ENABLE_DEPRECATION_WARNINGS
st
->
need_parsing
=
AVSTREAM_PARSE_FULL
;
if
(
st
->
codecpar
->
codec_id
==
AV_CODEC_ID_RV40
)
st
->
need_parsing
=
AVSTREAM_PARSE_NONE
;
if
(
st
->
codecpar
->
codec_id
==
AV_CODEC_ID_HEVC
&&
st
->
codecpar
->
codec_tag
==
MKTAG
(
'H'
,
'2'
,
'6'
,
'5'
))
st
->
need_parsing
=
AVSTREAM_PARSE_FULL
;
if
(
st
->
codecpar
->
codec_tag
==
0
&&
st
->
codecpar
->
height
>
0
&&
st
->
codecpar
->
extradata_size
<
1U
<<
30
)
{
...
...
libavformat/riff.c
View file @
d4d74707
...
...
@@ -497,6 +497,7 @@ const AVCodecTag ff_codec_bmp_tags[] = {
const
AVCodecTag
ff_codec_bmp_tags_unofficial
[]
=
{
{
AV_CODEC_ID_HEVC
,
MKTAG
(
'H'
,
'E'
,
'V'
,
'C'
)
},
{
AV_CODEC_ID_HEVC
,
MKTAG
(
'H'
,
'2'
,
'6'
,
'5'
)
},
{
AV_CODEC_ID_NONE
,
0
}
};
...
...
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