Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
F
ffmpeg.wasm-core
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
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Linshizhi
ffmpeg.wasm-core
Commits
fb025625
Commit
fb025625
authored
Jul 24, 2002
by
Fabrice Bellard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
added RTP/RTSP stuff
Originally committed as revision 801 to
svn://svn.ffmpeg.org/ffmpeg/trunk
parent
a9a721da
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
34 additions
and
4 deletions
+34
-4
avformat.h
libav/avformat.h
+34
-4
No files found.
libav/avformat.h
View file @
fb025625
#ifndef AVFORMAT_H
#define AVFORMAT_H
#define LIBAV_VERSION_INT 0x000406
#define LIBAV_VERSION "0.4.6"
...
...
@@ -9,6 +11,8 @@
/* packet functions */
#define AV_NOPTS_VALUE 0
typedef
struct
AVPacket
{
INT64
pts
;
UINT8
*
data
;
...
...
@@ -53,6 +57,8 @@ typedef struct AVFormatParameters {
#define AVFMT_SHOW_IDS 0x0008
/* show format stream IDs numbers */
#define AVFMT_RGB24 0x0010
/* force RGB24 output for ppm (hack
- need better api) */
#define AVFMT_RAWPICTURE 0x0020
/* format wants AVPicture structure for
raw picture data */
typedef
struct
AVOutputFormat
{
const
char
*
name
;
...
...
@@ -207,6 +213,14 @@ int raw_init(void);
/* ffm.c */
int
ffm_init
(
void
);
/* rtsp.c */
extern
AVInputFormat
redir_demux
;
int
redir_open
(
AVFormatContext
**
ic_ptr
,
ByteIOContext
*
f
);
#include "rtp.h"
#include "rtsp.h"
/* utils.c */
#define MKTAG(a,b,c,d) (a | (b << 8) | (c << 16) | (d << 24))
#define MKBETAG(a,b,c,d) (d | (c << 8) | (b << 16) | (a << 24))
...
...
@@ -216,10 +230,6 @@ void av_register_output_format(AVOutputFormat *format);
AVOutputFormat
*
guess_format
(
const
char
*
short_name
,
const
char
*
filename
,
const
char
*
mime_type
);
int
strstart
(
const
char
*
str
,
const
char
*
val
,
const
char
**
ptr
);
void
pstrcpy
(
char
*
buf
,
int
buf_size
,
const
char
*
str
);
int
match_ext
(
const
char
*
filename
,
const
char
*
extensions
);
void
av_hex_dump
(
UINT8
*
buf
,
int
size
);
void
register_all
(
void
);
...
...
@@ -286,3 +296,23 @@ int audio_init(void);
extern
const
char
*
v4l_device
;
extern
const
char
*
audio_device
;
#ifdef HAVE_AV_CONFIG_H
int
strstart
(
const
char
*
str
,
const
char
*
val
,
const
char
**
ptr
);
int
stristart
(
const
char
*
str
,
const
char
*
val
,
const
char
**
ptr
);
void
pstrcpy
(
char
*
buf
,
int
buf_size
,
const
char
*
str
);
char
*
pstrcat
(
char
*
buf
,
int
buf_size
,
const
char
*
s
);
int
match_ext
(
const
char
*
filename
,
const
char
*
extensions
);
struct
in_addr
;
int
resolve_host
(
struct
in_addr
*
sin_addr
,
const
char
*
hostname
);
void
url_split
(
char
*
proto
,
int
proto_size
,
char
*
hostname
,
int
hostname_size
,
int
*
port_ptr
,
char
*
path
,
int
path_size
,
const
char
*
url
);
#endif
/* HAVE_AV_CONFIG_H */
#endif
/* AVFORMAT_H */
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