Nicolas George (12020-08-05): > --- a/libavformat/url.c > +++ b/libavformat/url.c > @@ -27,6 +27,7 @@ > #if CONFIG_NETWORK > #include "network.h" > #endif
> +#include "libavutil/avassert.h"
Moved this to the first patch.
> #include "libavutil/avstring.h"
> + if (use_base_path) {
> + base_path_end = ub.url_component_end_path;
> + if (URL_COMPONENT_HAVE(uc, path))
> + while (base_path_end > ub.path && base_path_end[-1] != '/')
> + base_path_end--;
> }
> + if (!use_base_path && !URL_COMPONENT_HAVE(uc, path))
> + simplify_path = 0;
Added /* No path at all, leave it */ before this.
Regards,
--
Nicolas George
signature.asc
Description: PGP signature
_______________________________________________ ffmpeg-devel mailing list [email protected] https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email [email protected] with subject "unsubscribe".
