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
a3accd0c
Commit
a3accd0c
authored
Oct 17, 2017
by
Carl Eugen Hoyos
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lavf/cafenc: Allow muxing opus.
QuickTime does not require the (unknown) kuki chunk for decoding.
parent
552d2cb6
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
+3
-2
cafenc.c
libavformat/cafenc.c
+2
-1
version.h
libavformat/version.h
+1
-1
No files found.
libavformat/cafenc.c
View file @
a3accd0c
...
...
@@ -81,6 +81,8 @@ static uint32_t samples_per_packet(enum AVCodecID codec_id, int channels, int bl
return
320
;
case
AV_CODEC_ID_MP1
:
return
384
;
case
AV_CODEC_ID_OPUS
:
return
960
;
case
AV_CODEC_ID_MP2
:
case
AV_CODEC_ID_MP3
:
return
1152
;
...
...
@@ -117,7 +119,6 @@ static int caf_write_header(AVFormatContext *s)
switch
(
par
->
codec_id
)
{
case
AV_CODEC_ID_AAC
:
case
AV_CODEC_ID_OPUS
:
av_log
(
s
,
AV_LOG_ERROR
,
"muxing codec currently unsupported
\n
"
);
return
AVERROR_PATCHWELCOME
;
}
...
...
libavformat/version.h
View file @
a3accd0c
...
...
@@ -33,7 +33,7 @@
// Also please add any ticket numbers that you believe might be affected here
#define LIBAVFORMAT_VERSION_MAJOR 57
#define LIBAVFORMAT_VERSION_MINOR 84
#define LIBAVFORMAT_VERSION_MICRO 10
0
#define LIBAVFORMAT_VERSION_MICRO 10
1
#define LIBAVFORMAT_VERSION_INT AV_VERSION_INT(LIBAVFORMAT_VERSION_MAJOR, \
LIBAVFORMAT_VERSION_MINOR, \
...
...
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