lavf: remove disabled FF_API_NEW_STREAM cruft

This commit is contained in:
Anton Khirnov 2012-01-12 13:31:55 +01:00
parent adad5b88f8
commit 1329827e79
3 changed files with 0 additions and 28 deletions

View file

@ -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;