summaryrefslogtreecommitdiff
path: root/libavformat/utils.c
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2012-01-12 13:31:55 +0100
committerAnton Khirnov <anton@khirnov.net>2012-01-27 10:52:43 +0100
commit1329827e79766e21277a575d7abfdd0f07eb854c (patch)
tree7905803919c84aa1a5659bd6b3ad045253fbeaea /libavformat/utils.c
parentadad5b88f8e0c9227862dadb09c74c379f609c8c (diff)
lavf: remove disabled FF_API_NEW_STREAM cruft
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 d241200d81..24e0e8f6d7 100644
--- a/libavformat/utils.c
+++ b/libavformat/utils.c
@@ -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;