]> git.sesse.net Git - ffmpeg/blobdiff - libavdevice/avfoundation.m
avdevice/iec61883: return reference counted packets
[ffmpeg] / libavdevice / avfoundation.m
index e2ddf47dbe8dc7dad799d0dd77b274efcf8f487f..a540f6a079246a9918cbd7d7cb293422ee796fa3 100644 (file)
@@ -259,7 +259,7 @@ static void destroy_context(AVFContext* ctx)
 static void parse_device_name(AVFormatContext *s)
 {
     AVFContext *ctx = (AVFContext*)s->priv_data;
-    char *tmp = av_strdup(s->filename);
+    char *tmp = av_strdup(s->url);
     char *save;
 
     if (tmp[0] != ':') {