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
150e5e13
Unverified
Commit
150e5e13
authored
Apr 20, 2016
by
Rodger Combs
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lavf: deprecate av_apply_bitstream_filters
parent
1df40150
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
0 deletions
+7
-0
avformat.h
libavformat/avformat.h
+3
-0
utils.c
libavformat/utils.c
+4
-0
No files found.
libavformat/avformat.h
View file @
150e5e13
...
@@ -2873,8 +2873,11 @@ int avformat_queue_attached_pictures(AVFormatContext *s);
...
@@ -2873,8 +2873,11 @@ int avformat_queue_attached_pictures(AVFormatContext *s);
* @return >=0 on success;
* @return >=0 on success;
* AVERROR code on failure
* AVERROR code on failure
*/
*/
#if FF_API_OLD_BSF
attribute_deprecated
int
av_apply_bitstream_filters
(
AVCodecContext
*
codec
,
AVPacket
*
pkt
,
int
av_apply_bitstream_filters
(
AVCodecContext
*
codec
,
AVPacket
*
pkt
,
AVBitStreamFilterContext
*
bsfc
);
AVBitStreamFilterContext
*
bsfc
);
#endif
/**
/**
* @}
* @}
...
...
libavformat/utils.c
View file @
150e5e13
...
@@ -5006,6 +5006,8 @@ int ff_stream_add_bitstream_filter(AVStream *st, const char *name, const char *a
...
@@ -5006,6 +5006,8 @@ int ff_stream_add_bitstream_filter(AVStream *st, const char *name, const char *a
return
1
;
return
1
;
}
}
#if FF_API_OLD_BSF
FF_DISABLE_DEPRECATION_WARNINGS
int
av_apply_bitstream_filters
(
AVCodecContext
*
codec
,
AVPacket
*
pkt
,
int
av_apply_bitstream_filters
(
AVCodecContext
*
codec
,
AVPacket
*
pkt
,
AVBitStreamFilterContext
*
bsfc
)
AVBitStreamFilterContext
*
bsfc
)
{
{
...
@@ -5059,6 +5061,8 @@ int av_apply_bitstream_filters(AVCodecContext *codec, AVPacket *pkt,
...
@@ -5059,6 +5061,8 @@ int av_apply_bitstream_filters(AVCodecContext *codec, AVPacket *pkt,
}
}
return
ret
;
return
ret
;
}
}
FF_ENABLE_DEPRECATION_WARNINGS
#endif
void
ff_format_io_close
(
AVFormatContext
*
s
,
AVIOContext
**
pb
)
void
ff_format_io_close
(
AVFormatContext
*
s
,
AVIOContext
**
pb
)
{
{
...
...
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