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
dfe8e3b3
Commit
dfe8e3b3
authored
Jul 30, 2015
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avcodec/avuienc: Drop coded_frame usage
Signed-off-by:
Michael Niedermayer
<
michael@niedermayer.cc
>
parent
bc4bdc6d
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
4 deletions
+1
-4
avuienc.c
libavcodec/avuienc.c
+1
-4
No files found.
libavcodec/avuienc.c
View file @
dfe8e3b3
...
@@ -70,9 +70,6 @@ static int avui_encode_frame(AVCodecContext *avctx, AVPacket *pkt,
...
@@ -70,9 +70,6 @@ static int avui_encode_frame(AVCodecContext *avctx, AVPacket *pkt,
dst
+=
avctx
->
width
*
skip
;
dst
+=
avctx
->
width
*
skip
;
}
}
avctx
->
coded_frame
->
key_frame
=
1
;
avctx
->
coded_frame
->
pict_type
=
AV_PICTURE_TYPE_I
;
for
(
i
=
0
;
i
<=
interlaced
;
i
++
)
{
for
(
i
=
0
;
i
<=
interlaced
;
i
++
)
{
uint8_t
*
src
;
uint8_t
*
src
;
if
(
interlaced
&&
avctx
->
height
==
486
)
{
if
(
interlaced
&&
avctx
->
height
==
486
)
{
...
@@ -101,6 +98,6 @@ AVCodec ff_avui_encoder = {
...
@@ -101,6 +98,6 @@ AVCodec ff_avui_encoder = {
.
id
=
AV_CODEC_ID_AVUI
,
.
id
=
AV_CODEC_ID_AVUI
,
.
init
=
avui_encode_init
,
.
init
=
avui_encode_init
,
.
encode2
=
avui_encode_frame
,
.
encode2
=
avui_encode_frame
,
.
capabilities
=
AV_CODEC_CAP_EXPERIMENTAL
,
.
capabilities
=
AV_CODEC_CAP_EXPERIMENTAL
|
AV_CODEC_CAP_INTRA_ONLY
,
.
pix_fmts
=
(
const
enum
AVPixelFormat
[]){
AV_PIX_FMT_UYVY422
,
AV_PIX_FMT_NONE
},
.
pix_fmts
=
(
const
enum
AVPixelFormat
[]){
AV_PIX_FMT_UYVY422
,
AV_PIX_FMT_NONE
},
};
};
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