Revision 2d8d6882

View differences:

libavformat/mov.c
2180 2180
    return 0;
2181 2181
}
2182 2182

  
2183
static int mov_read_chan(MOVContext *c, AVIOContext *pb, MOVAtom atom)
2184
{
2185
    if (atom.size < 16)
2186
        return AVERROR_INVALIDDATA;
2187
    avio_skip(pb, 4);
2188
    ff_mov_read_chan(c->fc, atom.size - 4, c->fc->streams[0]->codec);
2189
    return 0;
2190
}
2191

  
2183 2192
static const MOVParseTableEntry mov_default_parse_table[] = {
2184 2193
{ MKTAG('a','v','s','s'), mov_read_extradata },
2185 2194
{ MKTAG('c','h','p','l'), mov_read_chpl },
......
2233 2242
{ MKTAG('d','a','c','3'), mov_read_dac3 }, /* AC-3 info */
2234 2243
{ MKTAG('w','i','d','e'), mov_read_wide }, /* place holder */
2235 2244
{ MKTAG('c','m','o','v'), mov_read_cmov },
2245
{ MKTAG('c','h','a','n'), mov_read_chan },
2236 2246
{ 0, NULL }
2237 2247
};
2238 2248

  

Also available in: Unified diff