Browse Source

Simplify

Originally committed as revision 10295 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/v0.5
David Conrad 17 years ago
parent
commit
cf4f763be1
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavformat/matroskaenc.c

+ 1
- 1
libavformat/matroskaenc.c View File

@@ -43,7 +43,7 @@ static void put_ebml_id(ByteIOContext *pb, unsigned int id)
static void put_ebml_size(ByteIOContext *pb, uint64_t size, int minbytes)
{
int bytes = minbytes;
while (size >> (bytes*8 + 7-bytes) > 0) bytes++;
while (size >> (bytes*7 + 7)) bytes++;

// sizes larger than this are currently undefined in EBML
// XXX: error condition?


Loading…
Cancel
Save