Ticket #3710: 3710-dbg1.patch

File 3710-dbg1.patch, 772 bytes (added by danielk, 13 years ago)

Debugging patch

  • libs/libavcodec/mpegvideo.c

     
    397397        }
    398398
    399399        if(s->linesize && (s->linesize != pic->linesize[0] || s->uvlinesize != pic->linesize[1])){
    400             av_log(s->avctx, AV_LOG_ERROR, "get_buffer() failed (stride changed)\n");
     400            av_log(s->avctx, AV_LOG_ERROR,
     401                   "get_buffer() failed (stride changed YUV: "
     402                   "%d->%d, %d->%d, %d->%d)\n",
     403                   s->linesize, pic->linesize[0],
     404                   s->uvlinesize, pic->linesize[1],
     405                   s->uvlinesize, pic->linesize[2]);
    401406            return -1;
    402407        }
    403408