{
AVStream *st = c->fc->streams[c->fc->nb_streams-1];
int len = 0;
- uint8_t *buf;
uint32_t type;
uint32_t ctype;
static int mov_read_mdhd(MOVContext *c, ByteIOContext *pb, MOV_atom_t atom)
{
- AVStream *st = c->fc->streams[c->fc->nb_streams-1];
-
print_atom("mdhd", atom);
get_byte(pb); /* version */
static int mov_read_stsd(MOVContext *c, ByteIOContext *pb, MOV_atom_t atom)
{
AVStream *st = c->fc->streams[c->fc->nb_streams-1];
- MOVStreamContext *sc = (MOVStreamContext *)st->priv_data;
+ //MOVStreamContext *sc = (MOVStreamContext *)st->priv_data;
int entries, frames_per_sample;
uint32_t format;
static int mov_read_stts(MOVContext *c, ByteIOContext *pb, MOV_atom_t atom)
{
AVStream *st = c->fc->streams[c->fc->nb_streams-1];
- MOVStreamContext *sc = (MOVStreamContext *)st->priv_data;
+ //MOVStreamContext *sc = (MOVStreamContext *)st->priv_data;
int entries, i;
print_atom("stts", atom);
static int mov_read_wide(MOVContext *c, ByteIOContext *pb, MOV_atom_t atom)
{
int err;
- uint32_t type;
#ifdef DEBUG
print_atom("wide", atom);
atom.type = get_le32(pb);
atom.offset += 8;
atom.size -= 8;
- if (type != MKTAG('m', 'd', 'a', 't')) {
+ if (atom.type != MKTAG('m', 'd', 'a', 't')) {
url_fskip(pb, atom.size);
return 0;
}