summaryrefslogtreecommitdiff
path: root/libavformat/g723_1.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/g723_1.c
parent454f1657288e75a9797381c8a26598674ea9bd68 (diff)
downloadffmpeg-0e5ecd806eadf7dd0ec645b1b69310ee76c0cd1c.tar.gz
Replace remaining av_new_stream() with avformat_new_stream().
Diffstat (limited to 'libavformat/g723_1.c')
-rw-r--r--libavformat/g723_1.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/g723_1.c b/libavformat/g723_1.c
index 19441a1b19..5bdd764363 100644
--- a/libavformat/g723_1.c
+++ b/libavformat/g723_1.c
@@ -32,7 +32,7 @@ static int g723_1_init(AVFormatContext *s, AVFormatParameters *ap)
{
AVStream *st;
- st = av_new_stream(s, 0);
+ st = avformat_new_stream(s, NULL);
if (!st)
return AVERROR(ENOMEM);