1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-11-26 19:01:44 +02:00
Originally committed as revision 5527 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Michael Niedermayer 2006-06-25 21:22:25 +00:00
parent f3a30e3a9c
commit 6c35b4dee3

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){