Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
F
ffmpeg
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
ffmpeg
Commits
c486dade
Commit
c486dade
authored
Apr 07, 2011
by
Anton Khirnov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avio: make URLContext internal.
parent
c5704b2b
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
21 additions
and
3 deletions
+21
-3
avio.h
libavformat/avio.h
+2
-1
avio_internal.h
libavformat/avio_internal.h
+1
-0
file.c
libavformat/file.c
+1
-0
http.h
libavformat/http.h
+1
-1
librtmp.c
libavformat/librtmp.c
+1
-0
mms.h
libavformat/mms.h
+1
-1
rtmppkt.h
libavformat/rtmppkt.h
+1
-0
rtpdec.h
libavformat/rtpdec.h
+1
-0
rtpenc_chain.h
libavformat/rtpenc_chain.h
+1
-0
url.h
libavformat/url.h
+11
-0
No files found.
libavformat/avio.h
View file @
c486dade
...
...
@@ -37,12 +37,14 @@
/* unbuffered I/O */
#if FF_API_OLD_AVIO
/**
* URL Context.
* New fields can be added to the end with minor version bumps.
* Removal, reordering and changes to existing fields require a major
* version bump.
* sizeof(URLContext) must not be used outside libav*.
* @deprecated This struct will be made private
*/
typedef
struct
URLContext
{
#if FF_API_URL_CLASS
...
...
@@ -57,7 +59,6 @@ typedef struct URLContext {
int
is_connected
;
}
URLContext
;
#if FF_API_OLD_AVIO
typedef
struct
URLPollEntry
{
URLContext
*
handle
;
int
events
;
...
...
libavformat/avio_internal.h
View file @
c486dade
...
...
@@ -21,6 +21,7 @@
#define AVFORMAT_AVIO_INTERNAL_H
#include "avio.h"
#include "url.h"
int
ffio_init_context
(
AVIOContext
*
s
,
unsigned
char
*
buffer
,
...
...
libavformat/file.c
View file @
c486dade
...
...
@@ -29,6 +29,7 @@
#include <sys/stat.h>
#include <stdlib.h>
#include "os_support.h"
#include "url.h"
/* standard file protocol */
...
...
libavformat/http.h
View file @
c486dade
...
...
@@ -22,7 +22,7 @@
#ifndef AVFORMAT_HTTP_H
#define AVFORMAT_HTTP_H
#include "
avio
.h"
#include "
url
.h"
/**
* Set custom HTTP headers.
...
...
libavformat/librtmp.c
View file @
c486dade
...
...
@@ -25,6 +25,7 @@
*/
#include "avformat.h"
#include "url.h"
#include <librtmp/rtmp.h>
#include <librtmp/log.h>
...
...
libavformat/mms.h
View file @
c486dade
...
...
@@ -21,7 +21,7 @@
#ifndef AVFORMAT_MMS_H
#define AVFORMAT_MMS_H
#include "
avformat
.h"
#include "
url
.h"
typedef
struct
{
int
id
;
...
...
libavformat/rtmppkt.h
View file @
c486dade
...
...
@@ -23,6 +23,7 @@
#define AVFORMAT_RTMPPKT_H
#include "avformat.h"
#include "url.h"
/** maximum possible number of different RTMP channels */
#define RTMP_CHANNELS 65599
...
...
libavformat/rtpdec.h
View file @
c486dade
...
...
@@ -25,6 +25,7 @@
#include "libavcodec/avcodec.h"
#include "avformat.h"
#include "rtp.h"
#include "url.h"
typedef
struct
PayloadContext
PayloadContext
;
typedef
struct
RTPDynamicProtocolHandler_s
RTPDynamicProtocolHandler
;
...
...
libavformat/rtpenc_chain.h
View file @
c486dade
...
...
@@ -23,6 +23,7 @@
#define AVFORMAT_RTPENC_CHAIN_H
#include "avformat.h"
#include "url.h"
AVFormatContext
*
ff_rtp_chain_mux_open
(
AVFormatContext
*
s
,
AVStream
*
st
,
URLContext
*
handle
,
int
packet_size
);
...
...
libavformat/url.h
View file @
c486dade
...
...
@@ -32,6 +32,17 @@
#define URL_PROTOCOL_FLAG_NESTED_SCHEME 1
/*< The protocol name can be the first part of a nested protocol scheme */
extern
int
(
*
url_interrupt_cb
)(
void
);
typedef
struct
URLContext
{
const
AVClass
*
av_class
;
/**< information for av_log(). Set by url_open(). */
struct
URLProtocol
*
prot
;
void
*
priv_data
;
char
*
filename
;
/**< specified URL */
int
flags
;
int
max_packet_size
;
/**< if non zero, the stream is packetized with this max packet size */
int
is_streamed
;
/**< true if streamed (no seek possible), default = false */
int
is_connected
;
}
URLContext
;
#endif
/**
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment