You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-10 06:10:52 +02:00
lavf: deprecate av_apply_bitstream_filters
This commit is contained in:
@@ -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
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @}
|
* @}
|
||||||
|
@@ -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,
|
|||||||
}
|
}
|
||||||
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)
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user