Revision 49c8132b

View differences:

libavformat/ipmovie.c
227 227

  
228 228
    /* see if there are any pending packets */
229 229
    chunk_type = load_ipmovie_packet(s, pb, pkt);
230
    if ((chunk_type == CHUNK_VIDEO) && (chunk_type != CHUNK_DONE))
230
    if (chunk_type != CHUNK_DONE)
231 231
        return chunk_type;
232 232

  
233 233
    /* read the next chunk, wherever the file happens to be pointing */
......
601 601
        ret = AVERROR_IO;
602 602
    else if (ret == CHUNK_NOMEM)
603 603
        ret = AVERROR_NOMEM;
604
    else
604
    else if (ret == CHUNK_VIDEO)
605 605
        ret = 0;
606
    else
607
        ret = -1;
606 608

  
607 609
    return ret;
608 610
}

Also available in: Unified diff