Mercurial > libavformat.hg
comparison mov.c @ 2046:dc74a26ea890 libavformat
remove no more true comment
author | bcoudurier |
---|---|
date | Thu, 26 Apr 2007 11:46:04 +0000 |
parents | aa5e56700fdf |
children | 2c3887f02739 |
comparison
equal
deleted
inserted
replaced
2045:aa5e56700fdf | 2046:dc74a26ea890 |
---|---|
275 static int mov_read_esds(MOVContext *c, ByteIOContext *pb, MOV_atom_t atom) | 275 static int mov_read_esds(MOVContext *c, ByteIOContext *pb, MOV_atom_t atom) |
276 { | 276 { |
277 AVStream *st = c->fc->streams[c->fc->nb_streams-1]; | 277 AVStream *st = c->fc->streams[c->fc->nb_streams-1]; |
278 int tag, len; | 278 int tag, len; |
279 | 279 |
280 /* Well, broken but suffisant for some MP4 streams */ | |
281 get_be32(pb); /* version + flags */ | 280 get_be32(pb); /* version + flags */ |
282 len = mp4_read_descr(c, pb, &tag); | 281 len = mp4_read_descr(c, pb, &tag); |
283 if (tag == MP4ESDescrTag) { | 282 if (tag == MP4ESDescrTag) { |
284 get_be16(pb); /* ID */ | 283 get_be16(pb); /* ID */ |
285 get_byte(pb); /* priority */ | 284 get_byte(pb); /* priority */ |