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
46cb2da1
Commit
46cb2da1
authored
Apr 25, 2011
by
Diego Biurrun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
flashsv: Employ explicit AVCodec struct initializers.
parent
23f40a07
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
19 additions
and
20 deletions
+19
-20
flashsv.c
libavcodec/flashsv.c
+10
-11
flashsvenc.c
libavcodec/flashsvenc.c
+9
-9
No files found.
libavcodec/flashsv.c
View file @
46cb2da1
...
...
@@ -242,15 +242,14 @@ static av_cold int flashsv_decode_end(AVCodecContext *avctx)
AVCodec
ff_flashsv_decoder
=
{
"flashsv"
,
AVMEDIA_TYPE_VIDEO
,
CODEC_ID_FLASHSV
,
sizeof
(
FlashSVContext
),
flashsv_decode_init
,
NULL
,
flashsv_decode_end
,
flashsv_decode_frame
,
CODEC_CAP_DR1
,
.
pix_fmts
=
(
const
enum
PixelFormat
[]){
PIX_FMT_BGR24
,
PIX_FMT_NONE
},
.
long_name
=
NULL_IF_CONFIG_SMALL
(
"Flash Screen Video v1"
),
.
name
=
"flashsv"
,
.
type
=
AVMEDIA_TYPE_VIDEO
,
.
id
=
CODEC_ID_FLASHSV
,
.
priv_data_size
=
sizeof
(
FlashSVContext
),
.
init
=
flashsv_decode_init
,
.
close
=
flashsv_decode_end
,
.
decode
=
flashsv_decode_frame
,
.
capabilities
=
CODEC_CAP_DR1
,
.
pix_fmts
=
(
const
enum
PixelFormat
[]){
PIX_FMT_BGR24
,
PIX_FMT_NONE
},
.
long_name
=
NULL_IF_CONFIG_SMALL
(
"Flash Screen Video v1"
),
};
libavcodec/flashsvenc.c
View file @
46cb2da1
...
...
@@ -288,14 +288,14 @@ static av_cold int flashsv_encode_end(AVCodecContext *avctx)
}
AVCodec
ff_flashsv_encoder
=
{
"flashsv"
,
AVMEDIA_TYPE_VIDEO
,
CODEC_ID_FLASHSV
,
sizeof
(
FlashSVContext
),
flashsv_encode_init
,
flashsv_encode_frame
,
flashsv_encode_end
,
.
pix_fmts
=
(
const
enum
PixelFormat
[]){
PIX_FMT_BGR24
,
PIX_FMT_NONE
},
.
long_name
=
NULL_IF_CONFIG_SMALL
(
"Flash Screen Video"
),
.
name
=
"flashsv"
,
.
type
=
AVMEDIA_TYPE_VIDEO
,
.
id
=
CODEC_ID_FLASHSV
,
.
priv_data_size
=
sizeof
(
FlashSVContext
),
.
init
=
flashsv_encode_init
,
.
encode
=
flashsv_encode_frame
,
.
close
=
flashsv_encode_end
,
.
pix_fmts
=
(
const
enum
PixelFormat
[]){
PIX_FMT_BGR24
,
PIX_FMT_NONE
},
.
long_name
=
NULL_IF_CONFIG_SMALL
(
"Flash Screen Video"
),
};
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