summaryrefslogtreecommitdiff
path: root/libavformat/bintext.c
diff options
context:
space:
mode:
authorClément Bœsch <ubitux@gmail.com>2011-11-05 13:11:18 +0100
committerClément Bœsch <ubitux@gmail.com>2011-11-05 15:07:19 +0100
commit0e5ecd806eadf7dd0ec645b1b69310ee76c0cd1c (patch)
treeaa4774ed8070f10d86a16ec814cd39deda0ad8a1 /libavformat/bintext.c
parent454f1657288e75a9797381c8a26598674ea9bd68 (diff)
Replace remaining av_new_stream() with avformat_new_stream().
Diffstat (limited to 'libavformat/bintext.c')
-rw-r--r--libavformat/bintext.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/bintext.c b/libavformat/bintext.c
index e03a31e447..2450d92d0e 100644
--- a/libavformat/bintext.c
+++ b/libavformat/bintext.c
@@ -102,7 +102,7 @@ static AVStream * init_stream(AVFormatContext *s,
AVFormatParameters *ap)
{
BinDemuxContext *bin = s->priv_data;
- AVStream *st = av_new_stream(s, 0);
+ AVStream *st = avformat_new_stream(s, NULL);
if (!st)
return NULL;
st->codec->codec_tag = 0;