mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-02-25 00:06:58 +00:00
avformat: remove deprecated FF_API_AVIODIRCONTEXT
Signed-off-by: James Almer <jamrial@gmail.com>
This commit is contained in:
parent
c4c6c9e9d2
commit
aaefe47913
@ -721,11 +721,9 @@ int ffurl_delete(const char *url)
|
||||
return ret;
|
||||
}
|
||||
|
||||
#if !FF_API_AVIODIRCONTEXT
|
||||
struct AVIODirContext {
|
||||
struct URLContext *url_context;
|
||||
};
|
||||
#endif
|
||||
|
||||
int avio_open_dir(AVIODirContext **s, const char *url, AVDictionary **options)
|
||||
{
|
||||
|
@ -101,13 +101,7 @@ typedef struct AVIODirEntry {
|
||||
int64_t filemode; /**< Unix file mode, -1 if unknown. */
|
||||
} AVIODirEntry;
|
||||
|
||||
#if FF_API_AVIODIRCONTEXT
|
||||
typedef struct AVIODirContext {
|
||||
struct URLContext *url_context;
|
||||
} AVIODirContext;
|
||||
#else
|
||||
typedef struct AVIODirContext AVIODirContext;
|
||||
#endif
|
||||
|
||||
/**
|
||||
* Different data types that can be returned via the AVIO
|
||||
|
@ -42,7 +42,6 @@
|
||||
*
|
||||
*/
|
||||
#define FF_API_COMPUTE_PKT_FIELDS2 (LIBAVFORMAT_VERSION_MAJOR < 61)
|
||||
#define FF_API_AVIODIRCONTEXT (LIBAVFORMAT_VERSION_MAJOR < 61)
|
||||
#define FF_API_AVFORMAT_IO_CLOSE (LIBAVFORMAT_VERSION_MAJOR < 61)
|
||||
#define FF_API_AVIO_WRITE_NONCONST (LIBAVFORMAT_VERSION_MAJOR < 61)
|
||||
#define FF_API_LAVF_SHORTEST (LIBAVFORMAT_VERSION_MAJOR < 61)
|
||||
|
Loading…
Reference in New Issue
Block a user