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
569ff021
Commit
569ff021
authored
Feb 09, 2011
by
Anton Khirnov
Committed by
Mans Rullgard
Feb 09, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
asfdec: remove some write-only values from the context
Signed-off-by:
Mans Rullgard
<
mans@mansr.com
>
parent
9a77a92c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
4 deletions
+1
-4
asfdec.c
libavformat/asfdec.c
+1
-4
No files found.
libavformat/asfdec.c
View file @
569ff021
...
@@ -38,10 +38,8 @@ typedef struct {
...
@@ -38,10 +38,8 @@ typedef struct {
uint32_t
stream_bitrates
[
128
];
///< max number of streams, bitrate for each (for streaming)
uint32_t
stream_bitrates
[
128
];
///< max number of streams, bitrate for each (for streaming)
char
stream_languages
[
128
][
6
];
///< max number of streams, language for each (RFC1766, e.g. en-US)
char
stream_languages
[
128
][
6
];
///< max number of streams, language for each (RFC1766, e.g. en-US)
/* non streamed additonnal info */
/* non streamed additonnal info */
uint64_t
nb_packets
;
///< how many packets are there in the file, invalid if broadcasting
/* packet filling */
/* packet filling */
int
packet_size_left
;
int
packet_size_left
;
int
packet_nb_frames
;
/* only for reading */
/* only for reading */
uint64_t
data_offset
;
///< beginning of the first data packet
uint64_t
data_offset
;
///< beginning of the first data packet
uint64_t
data_object_offset
;
///< data object offset (excl. GUID & size)
uint64_t
data_object_offset
;
///< data object offset (excl. GUID & size)
...
@@ -232,7 +230,7 @@ static int asf_read_header(AVFormatContext *s, AVFormatParameters *ap)
...
@@ -232,7 +230,7 @@ static int asf_read_header(AVFormatContext *s, AVFormatParameters *ap)
ff_get_guid
(
pb
,
&
asf
->
hdr
.
guid
);
ff_get_guid
(
pb
,
&
asf
->
hdr
.
guid
);
asf
->
hdr
.
file_size
=
get_le64
(
pb
);
asf
->
hdr
.
file_size
=
get_le64
(
pb
);
asf
->
hdr
.
create_time
=
get_le64
(
pb
);
asf
->
hdr
.
create_time
=
get_le64
(
pb
);
asf
->
nb_packets
=
get_le64
(
pb
);
get_le64
(
pb
);
/* number of packets */
asf
->
hdr
.
play_time
=
get_le64
(
pb
);
asf
->
hdr
.
play_time
=
get_le64
(
pb
);
asf
->
hdr
.
send_time
=
get_le64
(
pb
);
asf
->
hdr
.
send_time
=
get_le64
(
pb
);
asf
->
hdr
.
preroll
=
get_le32
(
pb
);
asf
->
hdr
.
preroll
=
get_le32
(
pb
);
...
@@ -1037,7 +1035,6 @@ static void asf_reset_header(AVFormatContext *s)
...
@@ -1037,7 +1035,6 @@ static void asf_reset_header(AVFormatContext *s)
ASFStream
*
asf_st
;
ASFStream
*
asf_st
;
int
i
;
int
i
;
asf
->
packet_nb_frames
=
0
;
asf
->
packet_size_left
=
0
;
asf
->
packet_size_left
=
0
;
asf
->
packet_segments
=
0
;
asf
->
packet_segments
=
0
;
asf
->
packet_flags
=
0
;
asf
->
packet_flags
=
0
;
...
...
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