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
8ae19143
Commit
8ae19143
authored
Apr 12, 2012
by
Diego Biurrun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
vcr1enc: drop pointless empty encode_init() wrapper function
parent
eeeefd50
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
8 deletions
+1
-8
vcr1.c
libavcodec/vcr1.c
+1
-8
No files found.
libavcodec/vcr1.c
View file @
8ae19143
...
@@ -172,19 +172,12 @@ static int encode_frame(AVCodecContext *avctx, unsigned char *buf,
...
@@ -172,19 +172,12 @@ static int encode_frame(AVCodecContext *avctx, unsigned char *buf,
return
size
*
4
;
return
size
*
4
;
}
}
static
av_cold
int
encode_init
(
AVCodecContext
*
avctx
)
{
common_init
(
avctx
);
return
0
;
}
AVCodec
ff_vcr1_encoder
=
{
AVCodec
ff_vcr1_encoder
=
{
.
name
=
"vcr1"
,
.
name
=
"vcr1"
,
.
type
=
AVMEDIA_TYPE_VIDEO
,
.
type
=
AVMEDIA_TYPE_VIDEO
,
.
id
=
CODEC_ID_VCR1
,
.
id
=
CODEC_ID_VCR1
,
.
priv_data_size
=
sizeof
(
VCR1Context
),
.
priv_data_size
=
sizeof
(
VCR1Context
),
.
init
=
encode
_init
,
.
init
=
common
_init
,
.
encode
=
encode_frame
,
.
encode
=
encode_frame
,
.
long_name
=
NULL_IF_CONFIG_SMALL
(
"ATI VCR1"
),
.
long_name
=
NULL_IF_CONFIG_SMALL
(
"ATI VCR1"
),
};
};
...
...
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