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
77d8fd5c
Commit
77d8fd5c
authored
Jul 30, 2015
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avcodec/y41penc: Drop coded_frame usage
Signed-off-by:
Michael Niedermayer
<
michael@niedermayer.cc
>
parent
9ebffc5b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
y41penc.c
libavcodec/y41penc.c
+1
-2
No files found.
libavcodec/y41penc.c
View file @
77d8fd5c
...
...
@@ -45,8 +45,6 @@ static int y41p_encode_frame(AVCodecContext *avctx, AVPacket *pkt,
if
((
ret
=
ff_alloc_packet2
(
avctx
,
pkt
,
avctx
->
width
*
avctx
->
height
*
1
.
5
,
0
))
<
0
)
return
ret
;
avctx
->
coded_frame
->
key_frame
=
1
;
avctx
->
coded_frame
->
pict_type
=
AV_PICTURE_TYPE_I
;
dst
=
pkt
->
data
;
for
(
i
=
avctx
->
height
-
1
;
i
>=
0
;
i
--
)
{
...
...
@@ -91,4 +89,5 @@ AVCodec ff_y41p_encoder = {
.
close
=
y41p_encode_close
,
.
pix_fmts
=
(
const
enum
AVPixelFormat
[])
{
AV_PIX_FMT_YUV411P
,
AV_PIX_FMT_NONE
},
.
capabilities
=
AV_CODEC_CAP_INTRA_ONLY
,
};
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