This website works better with JavaScript.
Home
Help
Sign In
falkTX
/
FFmpeg
mirror of
https://github.com/falkTX/FFmpeg.git
Watch
1
Star
0
Fork
0
Code
Issues
0
Releases
338
Wiki
Activity
Browse Source
Simplify
Originally committed as revision 10326 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/v0.5
David Conrad
18 years ago
parent
f9c8d57b79
commit
6b9a10fbd3
1 changed files
with
1 additions
and
7 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-7
libavformat/matroskaenc.c
+ 1
- 7
libavformat/matroskaenc.c
View File
@@ -76,13 +76,7 @@ static void put_ebml_id(ByteIOContext *pb, unsigned int id)
static int ebml_id_size(unsigned int id)
{
if (id >= 0x3fffff)
return 4;
if (id >= 0x7fff)
return 3;
if (id >= 0xff)
return 2;
return 1;
return (av_log2(id+1)-1)/7+1;
}
// XXX: test this thoroughly and get rid of minbytes hack (currently needed to
Write
Preview
Loading…
Cancel
Save