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
a2bc8c56
Commit
a2bc8c56
authored
Feb 08, 2015
by
Carl Eugen Hoyos
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix standalone compilation of the mov muxer with --disable-optimizations.
Reported-by: Bernhard Döbler
parent
2efaaf94
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
movenc.c
libavformat/movenc.c
+5
-1
No files found.
libavformat/movenc.c
View file @
a2bc8c56
...
...
@@ -322,6 +322,7 @@ struct eac3_info {
}
substream
[
1
];
/* TODO: support 8 independent substreams */
};
#if CONFIG_AC3_PARSER
static
int
handle_eac3
(
MOVMuxContext
*
mov
,
AVPacket
*
pkt
,
MOVTrack
*
track
)
{
GetBitContext
gbc
;
...
...
@@ -442,6 +443,7 @@ concatenate:
return
pkt
->
size
;
}
#endif
static
int
mov_write_eac3_tag
(
AVIOContext
*
pb
,
MOVTrack
*
track
)
{
...
...
@@ -4188,13 +4190,15 @@ int ff_mov_write_packet(AVFormatContext *s, AVPacket *pkt)
}
else
{
size
=
ff_hevc_annexb2mp4
(
pb
,
pkt
->
data
,
pkt
->
size
,
0
,
NULL
);
}
}
else
if
(
CONFIG_AC3_PARSER
&&
enc
->
codec_id
==
AV_CODEC_ID_EAC3
)
{
#if CONFIG_AC3_PARSER
}
else
if
(
enc
->
codec_id
==
AV_CODEC_ID_EAC3
)
{
size
=
handle_eac3
(
mov
,
pkt
,
trk
);
if
(
size
<
0
)
return
size
;
else
if
(
!
size
)
goto
end
;
avio_write
(
pb
,
pkt
->
data
,
size
);
#endif
}
else
{
avio_write
(
pb
,
pkt
->
data
,
size
);
}
...
...
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