Revision 25ef43bb

View differences:

libavcodec/mpeg12.c
2250 2250
    s->resync_mb_x=
2251 2251
    s->resync_mb_y= -1;
2252 2252

  
2253
    if (mb_y >= s->mb_height){
2254
        av_log(s->avctx, AV_LOG_ERROR, "slice below image (%d >= %d)\n", s->mb_y, s->mb_height);
2253
    if (mb_y<<field_pic >= s->mb_height){
2254
        av_log(s->avctx, AV_LOG_ERROR, "slice below image (%d >= %d)\n", mb_y, s->mb_height);
2255 2255
        return -1;
2256 2256
    }
2257 2257
    

Also available in: Unified diff