summaryrefslogtreecommitdiff
path: root/libavformat/avio.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavformat/avio.c')
-rw-r--r--libavformat/avio.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/libavformat/avio.c b/libavformat/avio.c
index 3447889988..6a08a5e07e 100644
--- a/libavformat/avio.c
+++ b/libavformat/avio.c
@@ -82,9 +82,7 @@ int url_open(URLContext **puc, const char *filename, int flags)
err = AVERROR(ENOMEM);
goto fail;
}
-#if LIBAVFORMAT_VERSION_INT >= (52<<16)
uc->filename = (char *) &uc[1];
-#endif
strcpy(uc->filename, filename);
uc->prot = up;
uc->flags = flags;