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
4d518f12
Commit
4d518f12
authored
Oct 13, 2011
by
Mohamed Naufal
Committed by
Michael Niedermayer
Oct 13, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
g723.1: use raw muxer
Signed-off-by:
Michael Niedermayer
<
michaelni@gmx.at
>
parent
f884ef00
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
14 additions
and
22 deletions
+14
-22
Makefile
libavformat/Makefile
+1
-1
g723_1.c
libavformat/g723_1.c
+0
-21
rawenc.c
libavformat/rawenc.c
+13
-0
No files found.
libavformat/Makefile
View file @
4d518f12
...
@@ -99,7 +99,7 @@ OBJS-$(CONFIG_GXF_MUXER) += gxfenc.o audiointerleave.o
...
@@ -99,7 +99,7 @@ OBJS-$(CONFIG_GXF_MUXER) += gxfenc.o audiointerleave.o
OBJS-$(CONFIG_G722_DEMUXER)
+=
rawdec.o
OBJS-$(CONFIG_G722_DEMUXER)
+=
rawdec.o
OBJS-$(CONFIG_G722_MUXER)
+=
rawenc.o
OBJS-$(CONFIG_G722_MUXER)
+=
rawenc.o
OBJS-$(CONFIG_G723_1_DEMUXER)
+=
g723_1.o
OBJS-$(CONFIG_G723_1_DEMUXER)
+=
g723_1.o
OBJS-$(CONFIG_G723_1_MUXER)
+=
g723_1
.o
OBJS-$(CONFIG_G723_1_MUXER)
+=
rawenc
.o
OBJS-$(CONFIG_H261_DEMUXER)
+=
h261dec.o
rawdec.o
OBJS-$(CONFIG_H261_DEMUXER)
+=
h261dec.o
rawdec.o
OBJS-$(CONFIG_H261_MUXER)
+=
rawenc.o
OBJS-$(CONFIG_H261_MUXER)
+=
rawenc.o
OBJS-$(CONFIG_H263_DEMUXER)
+=
h263dec.o
rawdec.o
OBJS-$(CONFIG_H263_DEMUXER)
+=
h263dec.o
rawdec.o
...
...
libavformat/g723_1.c
View file @
4d518f12
...
@@ -81,24 +81,3 @@ AVInputFormat ff_g723_1_demuxer = {
...
@@ -81,24 +81,3 @@ AVInputFormat ff_g723_1_demuxer = {
.
extensions
=
"tco,rco"
,
.
extensions
=
"tco,rco"
,
.
flags
=
AVFMT_GENERIC_INDEX
.
flags
=
AVFMT_GENERIC_INDEX
};
};
#if CONFIG_G723_1_MUXER
static
int
g723_1_write_packet
(
AVFormatContext
*
s
,
AVPacket
*
pkt
)
{
put_buffer
(
s
->
pb
,
pkt
->
data
,
pkt
->
size
);
put_flush_packet
(
s
->
pb
);
return
0
;
}
AVOutputFormat
ff_g723_1_muxer
=
{
"g723_1"
,
NULL_IF_CONFIG_SMALL
(
"G.723.1 format"
),
"audio/g723"
,
"tco"
,
0
,
CODEC_ID_G723_1
,
CODEC_ID_NONE
,
NULL
,
g723_1_write_packet
,
};
#endif
libavformat/rawenc.c
View file @
4d518f12
...
@@ -108,6 +108,19 @@ AVOutputFormat ff_g722_muxer = {
...
@@ -108,6 +108,19 @@ AVOutputFormat ff_g722_muxer = {
};
};
#endif
#endif
#if CONFIG_G723_1_MUXER
AVOutputFormat
ff_g723_1_muxer
=
{
.
name
=
"g723_1"
,
.
long_name
=
NULL_IF_CONFIG_SMALL
(
"raw G.723.1"
),
.
mime_type
=
"audio/g723"
,
.
extensions
=
"tco,rco"
,
.
audio_codec
=
CODEC_ID_G723_1
,
.
video_codec
=
CODEC_ID_NONE
,
.
write_packet
=
ff_raw_write_packet
,
.
flags
=
AVFMT_NOTIMESTAMPS
,
};
#endif
#if CONFIG_H261_MUXER
#if CONFIG_H261_MUXER
AVOutputFormat
ff_h261_muxer
=
{
AVOutputFormat
ff_h261_muxer
=
{
.
name
=
"h261"
,
.
name
=
"h261"
,
...
...
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