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
802e5129
Commit
802e5129
authored
Jul 30, 2015
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avcodec/r210enc: Drop coded_frame usage
Signed-off-by:
Michael Niedermayer
<
michael@niedermayer.cc
>
parent
dfe8e3b3
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
r210enc.c
libavcodec/r210enc.c
+3
-2
No files found.
libavcodec/r210enc.c
View file @
802e5129
...
...
@@ -37,8 +37,6 @@ static int encode_frame(AVCodecContext *avctx, AVPacket *pkt,
if
((
ret
=
ff_alloc_packet2
(
avctx
,
pkt
,
4
*
aligned_width
*
avctx
->
height
,
0
))
<
0
)
return
ret
;
avctx
->
coded_frame
->
key_frame
=
1
;
avctx
->
coded_frame
->
pict_type
=
AV_PICTURE_TYPE_I
;
src_line
=
pic
->
data
[
0
];
dst
=
pkt
->
data
;
...
...
@@ -77,6 +75,7 @@ AVCodec ff_r210_encoder = {
.
id
=
AV_CODEC_ID_R210
,
.
encode2
=
encode_frame
,
.
pix_fmts
=
(
const
enum
AVPixelFormat
[])
{
AV_PIX_FMT_RGB48
,
AV_PIX_FMT_NONE
},
.
capabilities
=
AV_CODEC_CAP_INTRA_ONLY
,
};
#endif
#if CONFIG_R10K_ENCODER
...
...
@@ -87,6 +86,7 @@ AVCodec ff_r10k_encoder = {
.
id
=
AV_CODEC_ID_R10K
,
.
encode2
=
encode_frame
,
.
pix_fmts
=
(
const
enum
AVPixelFormat
[])
{
AV_PIX_FMT_RGB48
,
AV_PIX_FMT_NONE
},
.
capabilities
=
AV_CODEC_CAP_INTRA_ONLY
,
};
#endif
#if CONFIG_AVRP_ENCODER
...
...
@@ -97,5 +97,6 @@ AVCodec ff_avrp_encoder = {
.
id
=
AV_CODEC_ID_AVRP
,
.
encode2
=
encode_frame
,
.
pix_fmts
=
(
const
enum
AVPixelFormat
[])
{
AV_PIX_FMT_RGB48
,
AV_PIX_FMT_NONE
},
.
capabilities
=
AV_CODEC_CAP_INTRA_ONLY
,
};
#endif
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