diff options
author | Panagiotis Issaris <takis.issaris@uhasselt.be> | 2007-03-04 11:53:11 +0000 |
---|---|---|
committer | Panagiotis Issaris <takis.issaris@uhasselt.be> | 2007-03-04 11:53:11 +0000 |
commit | 636d6a4a472d756cfb0ee845249e1e4f303e2134 (patch) | |
tree | 9ee1413732cf401c2aebad226563876cac482069 /libavcodec/utils.c | |
parent | a3fd2bd87d1060d9f391969950c58cd56aad7847 (diff) | |
download | ffmpeg-636d6a4a472d756cfb0ee845249e1e4f303e2134.tar.gz |
Add the prefix "av_" to img_crop(), img_copy() and img_pad(), and rename "img"
to "picture" as suggested by Baptiste Coudurier.
Originally committed as revision 8220 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/utils.c')
-rw-r--r-- | libavcodec/utils.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/utils.c b/libavcodec/utils.c index 3ab6bd8916..cc9d77a78f 100644 --- a/libavcodec/utils.c +++ b/libavcodec/utils.c @@ -370,7 +370,7 @@ int avcodec_default_reget_buffer(AVCodecContext *s, AVFrame *pic){ if (s->get_buffer(s, pic)) return -1; /* Copy image data from old buffer to new buffer */ - img_copy((AVPicture*)pic, (AVPicture*)&temp_pic, s->pix_fmt, s->width, + av_picture_copy((AVPicture*)pic, (AVPicture*)&temp_pic, s->pix_fmt, s->width, s->height); s->release_buffer(s, &temp_pic); // Release old frame return 0; |