Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
F
ffmpeg
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
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
ffmpeg
Commits
6b3a1229
Commit
6b3a1229
authored
Nov 19, 2012
by
Anton Khirnov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
vcr1: remove disabled encoder stub
parent
74a9a624
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
39 deletions
+0
-39
vcr1.c
libavcodec/vcr1.c
+0
-39
No files found.
libavcodec/vcr1.c
View file @
6b3a1229
...
...
@@ -149,42 +149,3 @@ AVCodec ff_vcr1_decoder = {
.
capabilities
=
CODEC_CAP_DR1
,
.
long_name
=
NULL_IF_CONFIG_SMALL
(
"ATI VCR1"
),
};
/* Disable the encoder. */
#undef CONFIG_VCR1_ENCODER
#define CONFIG_VCR1_ENCODER 0
#if CONFIG_VCR1_ENCODER
#include "put_bits.h"
static
int
vcr1_encode_frame
(
AVCodecContext
*
avctx
,
unsigned
char
*
buf
,
int
buf_size
,
void
*
data
)
{
VCR1Context
*
const
a
=
avctx
->
priv_data
;
AVFrame
*
pict
=
data
;
AVFrame
*
const
p
=
&
a
->
picture
;
int
size
;
*
p
=
*
pict
;
p
->
pict_type
=
AV_PICTURE_TYPE_I
;
p
->
key_frame
=
1
;
avpriv_align_put_bits
(
&
a
->
pb
);
flush_put_bits
(
&
a
->
pb
);
size
=
put_bits_count
(
&
a
->
pb
)
/
32
;
return
size
*
4
;
}
AVCodec
ff_vcr1_encoder
=
{
.
name
=
"vcr1"
,
.
type
=
AVMEDIA_TYPE_VIDEO
,
.
id
=
AV_CODEC_ID_VCR1
,
.
priv_data_size
=
sizeof
(
VCR1Context
),
.
init
=
vcr1_common_init
,
.
encode
=
vcr1_encode_frame
,
.
long_name
=
NULL_IF_CONFIG_SMALL
(
"ATI VCR1"
),
};
#endif
/* CONFIG_VCR1_ENCODER */
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