comparison utils.c @ 4624:6a900f539e2c libavcodec

Add the prefix "av_" to img_crop(), img_copy() and img_pad(), and rename "img" to "picture" as suggested by Baptiste Coudurier.
author takis
date Sun, 04 Mar 2007 11:53:11 +0000
parents 5464e5021a67
children 9d7d21173e4f
comparison
equal deleted inserted replaced
4623:e541c0dd35dd 4624:6a900f539e2c
368 pic->opaque = NULL; 368 pic->opaque = NULL;
369 /* Allocate new frame */ 369 /* Allocate new frame */
370 if (s->get_buffer(s, pic)) 370 if (s->get_buffer(s, pic))
371 return -1; 371 return -1;
372 /* Copy image data from old buffer to new buffer */ 372 /* Copy image data from old buffer to new buffer */
373 img_copy((AVPicture*)pic, (AVPicture*)&temp_pic, s->pix_fmt, s->width, 373 av_picture_copy((AVPicture*)pic, (AVPicture*)&temp_pic, s->pix_fmt, s->width,
374 s->height); 374 s->height);
375 s->release_buffer(s, &temp_pic); // Release old frame 375 s->release_buffer(s, &temp_pic); // Release old frame
376 return 0; 376 return 0;
377 } 377 }
378 378