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
f2214c62
Commit
f2214c62
authored
Jan 04, 2013
by
Justin Ruggles
Committed by
Paul B Mahol
Jan 04, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
au: use ff_raw_write_packet()
parent
d885cc41
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
9 deletions
+4
-9
Makefile
libavformat/Makefile
+1
-1
au.c
libavformat/au.c
+3
-8
No files found.
libavformat/Makefile
View file @
f2214c62
...
...
@@ -75,7 +75,7 @@ OBJS-$(CONFIG_ASS_MUXER) += assenc.o
OBJS-$(CONFIG_AST_DEMUXER)
+=
ast.o
astdec.o
OBJS-$(CONFIG_AST_MUXER)
+=
ast.o
astenc.o
OBJS-$(CONFIG_AU_DEMUXER)
+=
au.o
pcm.o
OBJS-$(CONFIG_AU_MUXER)
+=
au.o
OBJS-$(CONFIG_AU_MUXER)
+=
au.o
rawenc.o
OBJS-$(CONFIG_AVI_DEMUXER)
+=
avidec.o
OBJS-$(CONFIG_AVI_MUXER)
+=
avienc.o
OBJS-$(CONFIG_AVISYNTH)
+=
avisynth.o
...
...
libavformat/au.c
View file @
f2214c62
...
...
@@ -135,6 +135,8 @@ AVInputFormat ff_au_demuxer = {
#if CONFIG_AU_MUXER
#include "rawenc.h"
/* AUDIO_FILE header */
static
int
put_au_header
(
AVIOContext
*
pb
,
AVCodecContext
*
enc
)
{
...
...
@@ -164,13 +166,6 @@ static int au_write_header(AVFormatContext *s)
return
0
;
}
static
int
au_write_packet
(
AVFormatContext
*
s
,
AVPacket
*
pkt
)
{
AVIOContext
*
pb
=
s
->
pb
;
avio_write
(
pb
,
pkt
->
data
,
pkt
->
size
);
return
0
;
}
static
int
au_write_trailer
(
AVFormatContext
*
s
)
{
AVIOContext
*
pb
=
s
->
pb
;
...
...
@@ -196,7 +191,7 @@ AVOutputFormat ff_au_muxer = {
.
audio_codec
=
AV_CODEC_ID_PCM_S16BE
,
.
video_codec
=
AV_CODEC_ID_NONE
,
.
write_header
=
au_write_header
,
.
write_packet
=
au
_write_packet
,
.
write_packet
=
ff_raw
_write_packet
,
.
write_trailer
=
au_write_trailer
,
.
codec_tag
=
(
const
AVCodecTag
*
const
[]){
codec_au_tags
,
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