Revision 5b67307a libavcodec/utils.c

View differences:

libavcodec/utils.c
267 267
            w+= EDGE_WIDTH*2;
268 268
            h+= EDGE_WIDTH*2;
269 269
        }
270
        avcodec_align_dimensions(s, &w, &h);
271

  
270 272
        avpicture_fill(&picture, NULL, s->pix_fmt, w, h);
271 273
        pixel_size= picture.linesize[0]*8 / w;
272 274
//av_log(NULL, AV_LOG_ERROR, "%d %d %d %d\n", (int)picture.data[1], w, h, s->pix_fmt);

Also available in: Unified diff