Revision ee7388c9

View differences:

libavcodec/ffv1.c
959 959
    p->pict_type= FF_I_TYPE; //FIXME I vs. P
960 960
    if(get_rac(c, &keystate)){
961 961
        p->key_frame= 1;
962
        read_header(f);
962
        if(read_header(f) < 0)
963
            return -1;
963 964
        clear_state(f);
964 965
    }else{
965 966
        p->key_frame= 0;
966 967
    }
968
    if(!f->plane[0].state && !f->plane[0].vlc_state)
969
        return -1;
967 970

  
968 971
    p->reference= 0;
969 972
    if(avctx->get_buffer(avctx, p) < 0){

Also available in: Unified diff