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
47e08c58
Commit
47e08c58
authored
Sep 05, 2007
by
David Conrad
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Indentation
Originally committed as revision 10367 to
svn://svn.ffmpeg.org/ffmpeg/trunk
parent
0580a122
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
matroskaenc.c
libavformat/matroskaenc.c
+5
-5
No files found.
libavformat/matroskaenc.c
View file @
47e08c58
...
...
@@ -140,8 +140,8 @@ static void put_ebml_size(ByteIOContext *pb, uint64_t size, int bytes)
if
(
bytes
==
0
)
// don't care how many bytes are used, so use the min
bytes
=
needed_bytes
;
// the bytes needed to write the given size would exceed the bytes
// that we need to use, so write unknown size. This shouldn't happen.
// the bytes needed to write the given size would exceed the bytes
// that we need to use, so write unknown size. This shouldn't happen.
assert
(
bytes
>=
needed_bytes
);
size
|=
1ULL
<<
bytes
*
7
;
...
...
@@ -587,9 +587,9 @@ static int mkv_write_tracks(AVFormatContext *s)
end_ebml_master
(
pb
,
subinfo
);
break
;
case
CODEC_TYPE_SUBTITLE
:
put_ebml_uint
(
pb
,
MATROSKA_ID_TRACKTYPE
,
MATROSKA_TRACK_TYPE_SUBTITLE
);
break
;
case
CODEC_TYPE_SUBTITLE
:
put_ebml_uint
(
pb
,
MATROSKA_ID_TRACKTYPE
,
MATROSKA_TRACK_TYPE_SUBTITLE
);
break
;
default:
av_log
(
s
,
AV_LOG_ERROR
,
"Only audio and video are supported for Matroska."
);
break
;
...
...
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