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
6d78e852
Commit
6d78e852
authored
Jan 22, 2012
by
Jean First
Committed by
Vittorio Giovara
Mar 16, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
img2: add j2c file extension
Some applications use the j2c extension for jpeg2000 codestream files.
parent
58c21596
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
1 deletion
+2
-1
img2.c
libavformat/img2.c
+1
-0
img2enc.c
libavformat/img2enc.c
+1
-1
No files found.
libavformat/img2.c
View file @
6d78e852
...
...
@@ -63,6 +63,7 @@ static const IdStrMap img_tags[] = {
{
AV_CODEC_ID_SUNRAST
,
"im8"
},
{
AV_CODEC_ID_SUNRAST
,
"im24"
},
{
AV_CODEC_ID_SUNRAST
,
"sunras"
},
{
AV_CODEC_ID_JPEG2000
,
"j2c"
},
{
AV_CODEC_ID_JPEG2000
,
"jp2"
},
{
AV_CODEC_ID_JPEG2000
,
"jpc"
},
{
AV_CODEC_ID_JPEG2000
,
"j2k"
},
...
...
libavformat/img2enc.c
View file @
6d78e852
...
...
@@ -148,7 +148,7 @@ AVOutputFormat ff_image2_muxer = {
.
long_name
=
NULL_IF_CONFIG_SMALL
(
"image2 sequence"
),
.
extensions
=
"bmp,dpx,jpeg,jpg,ljpg,pam,pbm,pcx,pgm,pgmyuv,png,"
"ppm,sgi,tga,tif,tiff,jp2,xwd,sun,ras,rs,im1,im8,im24,"
"sunras,webp,xbm"
,
"sunras,webp,xbm
,j2c
"
,
.
priv_data_size
=
sizeof
(
VideoMuxData
),
.
video_codec
=
AV_CODEC_ID_MJPEG
,
.
write_header
=
write_header
,
...
...
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