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
cc9875dc
Commit
cc9875dc
authored
Feb 20, 2018
by
Matthieu Bouron
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avcodec/mediacodecdec_common: remove unused field from MediaCodecDecContext
parent
5d69e249
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
2 deletions
+1
-2
mediacodecdec_common.c
libavcodec/mediacodecdec_common.c
+1
-1
mediacodecdec_common.h
libavcodec/mediacodecdec_common.h
+0
-1
No files found.
libavcodec/mediacodecdec_common.c
View file @
cc9875dc
...
...
@@ -386,7 +386,7 @@ static int mediacodec_dec_parse_format(AVCodecContext *avctx, MediaCodecDecConte
}
AMEDIAFORMAT_GET_INT32
(
s
->
color_format
,
"color-format"
,
1
);
s
->
pix_fmt
=
avctx
->
pix_fmt
=
mcdec_map_color_format
(
avctx
,
s
,
s
->
color_format
);
avctx
->
pix_fmt
=
mcdec_map_color_format
(
avctx
,
s
,
s
->
color_format
);
if
(
avctx
->
pix_fmt
==
AV_PIX_FMT_NONE
)
{
av_log
(
avctx
,
AV_LOG_ERROR
,
"Output color format is not supported
\n
"
);
ret
=
AVERROR
(
EINVAL
);
...
...
libavcodec/mediacodecdec_common.h
View file @
cc9875dc
...
...
@@ -55,7 +55,6 @@ typedef struct MediaCodecDecContext {
int
stride
;
int
slice_height
;
int
color_format
;
enum
AVPixelFormat
pix_fmt
;
int
crop_top
;
int
crop_bottom
;
int
crop_left
;
...
...
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