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
eb31256f
Commit
eb31256f
authored
Apr 17, 2015
by
Eric Zimmerman
Committed by
Vittorio Giovara
Apr 19, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
g2meet: Support G2M5 codec variant
Signed-off-by:
Vittorio Giovara
<
vittorio.giovara@gmail.com
>
parent
88d1fb4e
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
3 deletions
+4
-3
g2meet.c
libavcodec/g2meet.c
+2
-2
version.h
libavcodec/version.h
+1
-1
riff.c
libavformat/riff.c
+1
-0
No files found.
libavcodec/g2meet.c
View file @
eb31256f
...
...
@@ -685,12 +685,12 @@ static int g2m_decode_frame(AVCodecContext *avctx, void *data,
magic
=
bytestream2_get_be32
(
&
bc
);
if
((
magic
&
~
0xF
)
!=
MKBETAG
(
'G'
,
'2'
,
'M'
,
'0'
)
||
(
magic
&
0xF
)
<
2
||
(
magic
&
0xF
)
>
4
)
{
(
magic
&
0xF
)
<
2
||
(
magic
&
0xF
)
>
5
)
{
av_log
(
avctx
,
AV_LOG_ERROR
,
"Wrong magic %08X
\n
"
,
magic
);
return
AVERROR_INVALIDDATA
;
}
if
((
magic
&
0xF
)
!=
4
)
{
if
((
magic
&
0xF
)
<
4
)
{
av_log
(
avctx
,
AV_LOG_ERROR
,
"G2M2 and G2M3 are not yet supported
\n
"
);
return
AVERROR
(
ENOSYS
);
}
...
...
libavcodec/version.h
View file @
eb31256f
...
...
@@ -30,7 +30,7 @@
#define LIBAVCODEC_VERSION_MAJOR 56
#define LIBAVCODEC_VERSION_MINOR 23
#define LIBAVCODEC_VERSION_MICRO
0
#define LIBAVCODEC_VERSION_MICRO
1
#define LIBAVCODEC_VERSION_INT AV_VERSION_INT(LIBAVCODEC_VERSION_MAJOR, \
LIBAVCODEC_VERSION_MINOR, \
...
...
libavformat/riff.c
View file @
eb31256f
...
...
@@ -349,6 +349,7 @@ const AVCodecTag ff_codec_bmp_tags[] = {
{
AV_CODEC_ID_G2M
,
MKTAG
(
'G'
,
'2'
,
'M'
,
'2'
)
},
{
AV_CODEC_ID_G2M
,
MKTAG
(
'G'
,
'2'
,
'M'
,
'3'
)
},
{
AV_CODEC_ID_G2M
,
MKTAG
(
'G'
,
'2'
,
'M'
,
'4'
)
},
{
AV_CODEC_ID_G2M
,
MKTAG
(
'G'
,
'2'
,
'M'
,
'5'
)
},
{
AV_CODEC_ID_FIC
,
MKTAG
(
'F'
,
'I'
,
'C'
,
'V'
)
},
{
AV_CODEC_ID_HQX
,
MKTAG
(
'C'
,
'H'
,
'Q'
,
'X'
)
},
{
AV_CODEC_ID_TDSC
,
MKTAG
(
'T'
,
'D'
,
'S'
,
'C'
)
},
...
...
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