mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-06-17 11:45:11 +08:00
lavf: remove disabled FF_API_NEW_STREAM cruft
This commit is contained in:
libavformat
@ -2630,16 +2630,6 @@ void avformat_close_input(AVFormatContext **ps)
|
||||
avio_close(pb);
|
||||
}
|
||||
|
||||
#if FF_API_NEW_STREAM
|
||||
AVStream *av_new_stream(AVFormatContext *s, int id)
|
||||
{
|
||||
AVStream *st = avformat_new_stream(s, NULL);
|
||||
if (st)
|
||||
st->id = id;
|
||||
return st;
|
||||
}
|
||||
#endif
|
||||
|
||||
AVStream *avformat_new_stream(AVFormatContext *s, AVCodec *c)
|
||||
{
|
||||
AVStream *st;
|
||||
|
Reference in New Issue
Block a user