mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-12-08 06:09:50 +00:00
avformat: Remove deprecated filename field from AVFormatContext
Deprecated in fa8308d3d4.
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Signed-off-by: James Almer <jamrial@gmail.com>
This commit is contained in:
parent
704017d91e
commit
30f7021aa0
4 changed files with 0 additions and 37 deletions
|
|
@ -547,11 +547,6 @@ int avformat_open_input(AVFormatContext **ps, const char *filename,
|
|||
goto fail;
|
||||
}
|
||||
|
||||
#if FF_API_FORMAT_FILENAME
|
||||
FF_DISABLE_DEPRECATION_WARNINGS
|
||||
av_strlcpy(s->filename, filename ? filename : "", sizeof(s->filename));
|
||||
FF_ENABLE_DEPRECATION_WARNINGS
|
||||
#endif
|
||||
if ((ret = init_input(s, filename, &tmp)) < 0)
|
||||
goto fail;
|
||||
s->probe_score = ret;
|
||||
|
|
@ -5800,9 +5795,4 @@ void ff_format_set_url(AVFormatContext *s, char *url)
|
|||
av_assert0(url);
|
||||
av_freep(&s->url);
|
||||
s->url = url;
|
||||
#if FF_API_FORMAT_FILENAME
|
||||
FF_DISABLE_DEPRECATION_WARNINGS
|
||||
av_strlcpy(s->filename, url, sizeof(s->filename));
|
||||
FF_ENABLE_DEPRECATION_WARNINGS
|
||||
#endif
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue