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
6f8c8fa8
Commit
6f8c8fa8
authored
Sep 25, 2011
by
Clément Bœsch
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bit: use explicit struct initializers.
parent
bf85b909
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
17 deletions
+14
-17
bit.c
libavformat/bit.c
+14
-17
No files found.
libavformat/bit.c
View file @
6f8c8fa8
...
...
@@ -82,13 +82,12 @@ static int read_packet(AVFormatContext *s,
}
AVInputFormat
ff_bit_demuxer
=
{
"bit"
,
"G.729 BIT file format"
,
0
,
probe
,
read_header
,
read_packet
,
.
extensions
=
"bit"
.
name
=
"bit"
,
.
long_name
=
NULL_IF_CONFIG_SMALL
(
"G.729 BIT file format"
),
.
read_probe
=
probe
,
.
read_header
=
read_header
,
.
read_packet
=
read_packet
,
.
extensions
=
"bit"
,
};
#ifdef CONFIG_MUXERS
...
...
@@ -123,15 +122,13 @@ static int write_packet(AVFormatContext *s, AVPacket *pkt)
}
AVOutputFormat
ff_bit_muxer
=
{
"bit"
,
"G.729 BIT file format"
,
"audio/bit"
,
"bit"
,
0
,
CODEC_ID_G729
,
CODEC_ID_NONE
,
write_header
,
write_packet
,
.
extensions
=
"bit"
.
name
=
"bit"
,
.
long_name
=
NULL_IF_CONFIG_SMALL
(
"G.729 BIT file format"
),
.
mime_type
=
"audio/bit"
,
.
extensions
=
"bit"
,
.
audio_codec
=
CODEC_ID_G729
,
.
video_codec
=
CODEC_ID_NONE
,
.
write_header
=
write_header
,
.
write_packet
=
write_packet
,
};
#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