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
4d5b99da
Commit
4d5b99da
authored
Sep 25, 2014
by
Diego Biurrun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
caf: Give context structure a consistent name
parent
4620affa
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
7 deletions
+7
-7
cafdec.c
libavformat/cafdec.c
+7
-7
No files found.
libavformat/cafdec.c
View file @
4d5b99da
...
...
@@ -46,7 +46,7 @@ typedef struct {
int64_t
data_start
;
///< data start position, in bytes
int64_t
data_size
;
///< raw data size, in bytes
}
Caf
f
Context
;
}
CafContext
;
static
int
probe
(
AVProbeData
*
p
)
{
...
...
@@ -59,7 +59,7 @@ static int probe(AVProbeData *p)
static
int
read_desc_chunk
(
AVFormatContext
*
s
)
{
AVIOContext
*
pb
=
s
->
pb
;
Caf
fContext
*
caf
=
s
->
priv_data
;
Caf
Context
*
caf
=
s
->
priv_data
;
AVStream
*
st
;
int
flags
;
...
...
@@ -172,7 +172,7 @@ static int read_pakt_chunk(AVFormatContext *s, int64_t size)
{
AVIOContext
*
pb
=
s
->
pb
;
AVStream
*
st
=
s
->
streams
[
0
];
Caf
fContext
*
caf
=
s
->
priv_data
;
Caf
Context
*
caf
=
s
->
priv_data
;
int64_t
pos
=
0
,
ccount
,
num_packets
;
int
i
;
...
...
@@ -221,7 +221,7 @@ static void read_info_chunk(AVFormatContext *s, int64_t size)
static
int
read_header
(
AVFormatContext
*
s
)
{
AVIOContext
*
pb
=
s
->
pb
;
Caf
fContext
*
caf
=
s
->
priv_data
;
Caf
Context
*
caf
=
s
->
priv_data
;
AVStream
*
st
;
uint32_t
tag
=
0
;
int
found_data
,
ret
;
...
...
@@ -333,7 +333,7 @@ static int read_packet(AVFormatContext *s, AVPacket *pkt)
{
AVIOContext
*
pb
=
s
->
pb
;
AVStream
*
st
=
s
->
streams
[
0
];
Caf
fContext
*
caf
=
s
->
priv_data
;
Caf
Context
*
caf
=
s
->
priv_data
;
int
res
,
pkt_size
=
0
,
pkt_frames
=
0
;
int64_t
left
=
CAF_MAX_PKT_SIZE
;
...
...
@@ -387,7 +387,7 @@ static int read_seek(AVFormatContext *s, int stream_index,
int64_t
timestamp
,
int
flags
)
{
AVStream
*
st
=
s
->
streams
[
0
];
Caf
f
Context
*
caf
=
s
->
priv_data
;
CafContext
*
caf
=
s
->
priv_data
;
int64_t
pos
,
packet_cnt
,
frame_cnt
;
timestamp
=
FFMAX
(
timestamp
,
0
);
...
...
@@ -419,7 +419,7 @@ static int read_seek(AVFormatContext *s, int stream_index,
AVInputFormat
ff_caf_demuxer
=
{
.
name
=
"caf"
,
.
long_name
=
NULL_IF_CONFIG_SMALL
(
"Apple CAF (Core Audio Format)"
),
.
priv_data_size
=
sizeof
(
Caf
f
Context
),
.
priv_data_size
=
sizeof
(
CafContext
),
.
read_probe
=
probe
,
.
read_header
=
read_header
,
.
read_packet
=
read_packet
,
...
...
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