Browse Source

10l

Originally committed as revision 5527 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/v0.5
Michael Niedermayer 19 years ago
parent
commit
6c35b4dee3
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavcodec/flacenc.c

+ 1
- 1
libavcodec/flacenc.c View File

@@ -331,7 +331,7 @@ write_utf8(PutBitContext *pb, uint32_t val)
return;
}

bytes= (av_log2(val)-1) / 5;
bytes= (av_log2(val)+4) / 5;
shift = (bytes - 1) * 6;
put_bits(pb, 8, (256 - (256>>bytes)) | (val >> shift));
while(shift >= 6){


Loading…
Cancel
Save