diff options
author | Marton Balint <cus@passwd.hu> | 2017-12-29 01:19:37 +0100 |
---|---|---|
committer | Marton Balint <cus@passwd.hu> | 2018-01-28 23:06:43 +0100 |
commit | fa8308d3d4f27d6fb38ac2069887a7b259f1c6ab (patch) | |
tree | fcc0f59016a4c7addf7c981e4279442a9b399369 /libavformat/avformat.h | |
parent | 18ac64235939c4c5c7656546a9545f68339affbe (diff) |
avformat: deprecate AVFormatContext filename field
Signed-off-by: Marton Balint <cus@passwd.hu>
Diffstat (limited to 'libavformat/avformat.h')
-rw-r--r-- | libavformat/avformat.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/libavformat/avformat.h b/libavformat/avformat.h index d1bd4902d0..82f9845337 100644 --- a/libavformat/avformat.h +++ b/libavformat/avformat.h @@ -1394,13 +1394,18 @@ typedef struct AVFormatContext { */ AVStream **streams; +#if FF_API_FORMAT_FILENAME /** * input or output filename * * - demuxing: set by avformat_open_input() * - muxing: may be set by the caller before avformat_write_header() + * + * @deprecated Use url instead. */ + attribute_deprecated char filename[1024]; +#endif /** * input or output URL. Unlike the old filename field, this field has no |