summaryrefslogtreecommitdiff
path: root/libavdevice/openal-dec.c
diff options
context:
space:
mode:
authorMarton Balint <cus@passwd.hu>2017-12-29 23:29:52 +0100
committerMarton Balint <cus@passwd.hu>2018-01-28 23:06:43 +0100
commit4bb04098204afadc8604af0113294f8ecc63a2de (patch)
treed2dc31c31b76f9e61f503e465f4ab7bde9169f16 /libavdevice/openal-dec.c
parent25a2d269bdd919e633e202b67927c3c72f9f0dd5 (diff)
avdevice: migrate to AVFormatContext->url
Signed-off-by: Marton Balint <cus@passwd.hu>
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 6eb0efe38f..c19048e15d 100644
--- a/libavdevice/openal-dec.c
+++ b/libavdevice/openal-dec.c
@@ -139,7 +139,7 @@ static int read_header(AVFormatContext *ctx)
/* Open device for capture */
ad->device =
- alcCaptureOpenDevice(ctx->filename[0] ? ctx->filename : NULL,
+ alcCaptureOpenDevice(ctx->url[0] ? ctx->url : NULL,
ad->sample_rate,
ad->sample_format,
ad->sample_rate); /* Maximum 1 second of sample data to be read at once */