Re: [FFmpeg-devel] [PATCH 7/9] lavf/img2enc: avoid a useless copy of the url

2021-11-26 Thread Andreas Rheinhardt
Anton Khirnov: > img2enc keeps a private (and possibly truncated) copy of the url that is > never modified. Just use AVFormatContext.url instead. > --- > libavformat/img2enc.c | 15 ++- > 1 file changed, 6 insertions(+), 9 deletions(-) > > diff --git a/libavformat/img2enc.c b/libavfor

[FFmpeg-devel] [PATCH 7/9] lavf/img2enc: avoid a useless copy of the url

2021-11-25 Thread Anton Khirnov
img2enc keeps a private (and possibly truncated) copy of the url that is never modified. Just use AVFormatContext.url instead. --- libavformat/img2enc.c | 15 ++- 1 file changed, 6 insertions(+), 9 deletions(-) diff --git a/libavformat/img2enc.c b/libavformat/img2enc.c index 62202de9f