mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
avio: move extern url_interrupt_cb declaration from avio.h to url.h
This commit is contained in:
parent
8e76a19b63
commit
5cec897105
@ -31,6 +31,7 @@
|
||||
#include "internal.h"
|
||||
#include <unistd.h>
|
||||
#include "avio_internal.h"
|
||||
#include "url.h"
|
||||
|
||||
#define INITIAL_BUFFER_SIZE 32768
|
||||
|
||||
|
@ -163,7 +163,9 @@ typedef struct URLProtocol {
|
||||
extern URLProtocol *first_protocol;
|
||||
#endif
|
||||
|
||||
#if FF_API_OLD_AVIO
|
||||
extern URLInterruptCB *url_interrupt_cb;
|
||||
#endif
|
||||
|
||||
/**
|
||||
* If protocol is NULL, returns the first registered protocol,
|
||||
|
@ -24,6 +24,7 @@
|
||||
#include "internal.h"
|
||||
#include "network.h"
|
||||
#include "os_support.h"
|
||||
#include "url.h"
|
||||
#if HAVE_POLL_H
|
||||
#include <poll.h>
|
||||
#endif
|
||||
|
@ -33,6 +33,7 @@
|
||||
#include "internal.h"
|
||||
#include "network.h"
|
||||
#include "os_support.h"
|
||||
#include "url.h"
|
||||
#include <sys/time.h>
|
||||
|
||||
#ifndef IPV6_ADD_MEMBERSHIP
|
||||
|
@ -30,6 +30,8 @@
|
||||
|
||||
#if !FF_API_OLD_AVIO
|
||||
#define URL_PROTOCOL_FLAG_NESTED_SCHEME 1 /*< The protocol name can be the first part of a nested protocol scheme */
|
||||
|
||||
extern URLInterruptCB *url_interrupt_cb;
|
||||
#endif
|
||||
|
||||
/**
|
||||
|
@ -31,6 +31,7 @@
|
||||
#include "libavutil/avstring.h"
|
||||
#include "riff.h"
|
||||
#include "audiointerleave.h"
|
||||
#include "url.h"
|
||||
#include <sys/time.h>
|
||||
#include <time.h>
|
||||
#include <strings.h>
|
||||
|
Loading…
Reference in New Issue
Block a user