aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/utils.c
diff options
context:
space:
mode:
authorJames Almer <jamrial@gmail.com>2014-09-14 21:25:26 -0300
committerJames Almer <jamrial@gmail.com>2014-10-05 17:10:15 -0300
commita578b93c73a1f00d857664edea5bd84be6a7674b (patch)
tree9158d04e1d0e20774290c3a31971b9c4ba2add64 /libavformat/utils.c
parentcc787709ee6f5917498ce0872447abb7a261c3d8 (diff)
downloadffmpeg-a578b93c73a1f00d857664edea5bd84be6a7674b.tar.gz
avformat: remove obsolete FF_API_NEW_STREAM cruft
Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'libavformat/utils.c')
-rw-r--r--libavformat/utils.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/libavformat/utils.c b/libavformat/utils.c
index d15af036ff..35b387d3ad 100644
--- a/libavformat/utils.c
+++ b/libavformat/utils.c
@@ -3579,16 +3579,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, const AVCodec *c)
{
AVStream *st;