summaryrefslogtreecommitdiff
path: root/libavdevice/openal-dec.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 /libavdevice/openal-dec.c
parent454f1657288e75a9797381c8a26598674ea9bd68 (diff)
Replace remaining av_new_stream() with avformat_new_stream().
Diffstat (limited to 'libavdevice/openal-dec.c')
-rw-r--r--libavdevice/openal-dec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavdevice/openal-dec.c b/libavdevice/openal-dec.c
index 1b70525c77..77b63b5695 100644
--- a/libavdevice/openal-dec.c
+++ b/libavdevice/openal-dec.c
@@ -145,7 +145,7 @@ static int read_header(AVFormatContext *ctx, AVFormatParameters *ap)
if (error = al_get_error(ad->device, &error_msg)) goto fail;
/* Create stream */
- if (!(st = av_new_stream(ctx, 0))) {
+ if (!(st = avformat_new_stream(ctx, NULL))) {
error = AVERROR(ENOMEM);
goto fail;
}