[FFmpeg-devel] [PATCH] MOV: support stz2 "Compact Sample Size Box"
Vladimir Pantelic
pan
Tue Mar 3 08:39:37 CET 2009
Alex Converse wrote:
> On Tue, Mar 3, 2009 at 2:05 AM, Alex Converse <alex.converse at gmail.com> wrote:
>> Hi,
>>
>> $subj.
>>
>> Ref: ISO/IEC 14496-12:2008 ? 8.7.3
>> Sample ISO/IEC 14496-4:2004/Amd.24:2008 a7-tone-oddities.mp4
>>
>> Regards,
>> Alex Converse
>>
>
> Please ignore the previous attachment and use this one instead.
+ switch(field_size) {
+ case 4:
+ for(i=0; i<entries; i++) {
+ int field = get_byte(pb);
+ sc->sample_sizes[i] = field >> 4;
+ sc->sample_sizes[i] = field & 0xF;
Is this intended to set sc->sample_sizes[i] twice?
More information about the ffmpeg-devel
mailing list