[FFmpeg-devel] [PATCH] lavf: move ff_get_v from avio.h to avio_internal.h
Måns Rullgård
mans
Fri Mar 11 18:53:49 CET 2011
Wim Lewis <wiml at hhhh.org> writes:
> On 3/10/11 5:55 PM, Michael Niedermayer wrote:
>> On Thu, Mar 10, 2011 at 03:10:42PM -0800, Wim Lewis wrote:
>>> UTF-8 uses a variation, with two flag bits instead of one,
>>> but I don't think it has a name.
>>
>> The encoding use by UTF-8 is completely different.
>
> You're right, I completely misremembered the UTF-8 encoding.
I wouldn't say utf-8 is completely different. It is a variable-length
coding which uses a few bits of each byte to indicate the length of the
code, just like the scheme under discussion here. The utf-8 method has
the advantage of detecting partial/corrupted codes at the expense of
needing somewhat more space.
--
M?ns Rullg?rd
mans at mansr.com
More information about the ffmpeg-devel
mailing list