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
bf709098
Commit
bf709098
authored
Oct 26, 2016
by
James Almer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avcodec: remove missing incompatible_libav_abi references
Signed-off-by:
James Almer
<
jamrial@gmail.com
>
parent
7400f642
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
15 deletions
+0
-15
avcodec.h
libavcodec/avcodec.h
+0
-7
imgconvert.c
libavcodec/imgconvert.c
+0
-8
No files found.
libavcodec/avcodec.h
View file @
bf709098
...
...
@@ -5566,15 +5566,8 @@ enum AVPixelFormat avcodec_find_best_pix_fmt_of_2(enum AVPixelFormat dst_pix_fmt
enum
AVPixelFormat
src_pix_fmt
,
int
has_alpha
,
int
*
loss_ptr
);
attribute_deprecated
#if AV_HAVE_INCOMPATIBLE_LIBAV_ABI
enum
AVPixelFormat
avcodec_find_best_pix_fmt2
(
const
enum
AVPixelFormat
*
pix_fmt_list
,
enum
AVPixelFormat
src_pix_fmt
,
int
has_alpha
,
int
*
loss_ptr
);
#else
enum
AVPixelFormat
avcodec_find_best_pix_fmt2
(
enum
AVPixelFormat
dst_pix_fmt1
,
enum
AVPixelFormat
dst_pix_fmt2
,
enum
AVPixelFormat
src_pix_fmt
,
int
has_alpha
,
int
*
loss_ptr
);
#endif
enum
AVPixelFormat
avcodec_default_get_format
(
struct
AVCodecContext
*
s
,
const
enum
AVPixelFormat
*
fmt
);
...
...
libavcodec/imgconvert.c
View file @
bf709098
...
...
@@ -57,19 +57,11 @@ enum AVPixelFormat avcodec_find_best_pix_fmt_of_2(enum AVPixelFormat dst_pix_fmt
return
av_find_best_pix_fmt_of_2
(
dst_pix_fmt1
,
dst_pix_fmt2
,
src_pix_fmt
,
has_alpha
,
loss_ptr
);
}
#if AV_HAVE_INCOMPATIBLE_LIBAV_ABI
enum
AVPixelFormat
avcodec_find_best_pix_fmt2
(
const
enum
AVPixelFormat
*
pix_fmt_list
,
enum
AVPixelFormat
src_pix_fmt
,
int
has_alpha
,
int
*
loss_ptr
){
return
avcodec_find_best_pix_fmt_of_list
(
pix_fmt_list
,
src_pix_fmt
,
has_alpha
,
loss_ptr
);
}
#else
enum
AVPixelFormat
avcodec_find_best_pix_fmt2
(
enum
AVPixelFormat
dst_pix_fmt1
,
enum
AVPixelFormat
dst_pix_fmt2
,
enum
AVPixelFormat
src_pix_fmt
,
int
has_alpha
,
int
*
loss_ptr
)
{
return
avcodec_find_best_pix_fmt_of_2
(
dst_pix_fmt1
,
dst_pix_fmt2
,
src_pix_fmt
,
has_alpha
,
loss_ptr
);
}
#endif
enum
AVPixelFormat
avcodec_find_best_pix_fmt_of_list
(
const
enum
AVPixelFormat
*
pix_fmt_list
,
enum
AVPixelFormat
src_pix_fmt
,
...
...
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