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
97d1ee43
Commit
97d1ee43
authored
Nov 22, 2018
by
Paul B Mahol
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avformat/movenc: get number of written bytes from bitstream writer
Update fate test.
parent
027f032b
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
movenc.c
libavformat/movenc.c
+1
-1
copy-trac3074
tests/ref/fate/copy-trac3074
+2
-2
No files found.
libavformat/movenc.c
View file @
97d1ee43
...
...
@@ -563,12 +563,12 @@ static int mov_write_eac3_tag(AVIOContext *pb, MOVTrack *track)
put_bits
(
&
pbc
,
4
,
info
->
substream
[
i
].
num_dep_sub
);
if
(
!
info
->
substream
[
i
].
num_dep_sub
)
{
put_bits
(
&
pbc
,
1
,
0
);
/* reserved */
size
--
;
}
else
{
put_bits
(
&
pbc
,
9
,
info
->
substream
[
i
].
chan_loc
);
}
}
flush_put_bits
(
&
pbc
);
size
=
put_bits_count
(
&
pbc
)
>>
3
;
avio_wb32
(
pb
,
size
+
8
);
ffio_wfourcc
(
pb
,
"dec3"
);
...
...
tests/ref/fate/copy-trac3074
View file @
97d1ee43
39aef1afff761d673fd1be07182941d1
*tests/data/fate/copy-trac3074.mp4
33399
1
tests/data/fate/copy-trac3074.mp4
f92a201033712bda262f1e071e25544a
*tests/data/fate/copy-trac3074.mp4
33399
2
tests/data/fate/copy-trac3074.mp4
#tb 0: 1/48000
#media_type 0: audio
#codec_id 0: eac3
...
...
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