Revision 4af5e4ef

View differences:

libavcodec/h263dec.c
107 107
    if (ret < 0)
108 108
        return -1;
109 109

  
110
    /* make sure we start with an I-Frame */
111
    if (!s->slice_height && (s->pict_type != I_TYPE))
112
        return -1;
113

  
110 114
    MPV_frame_start(s);
111 115

  
112 116
#ifdef DEBUG

Also available in: Unified diff