mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-06-29 12:26:20 +08:00
mov: Read Flash's chpl variant
This is based off of F4V specs rather than any actual files Originally committed as revision 24035 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
@ -222,13 +222,15 @@ static int mov_read_udta_string(MOVContext *c, ByteIOContext *pb, MOVAtom atom)
|
||||
static int mov_read_chpl(MOVContext *c, ByteIOContext *pb, MOVAtom atom)
|
||||
{
|
||||
int64_t start;
|
||||
int i, nb_chapters, str_len;
|
||||
int i, nb_chapters, str_len, version;
|
||||
char str[256+1];
|
||||
|
||||
if ((atom.size -= 5) < 0)
|
||||
return 0;
|
||||
|
||||
get_be32(pb); // version + flags
|
||||
version = get_byte(pb);
|
||||
get_be24(pb);
|
||||
if (version)
|
||||
get_be32(pb); // ???
|
||||
nb_chapters = get_byte(pb);
|
||||
|
||||
|
Reference in New Issue
Block a user