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/imgresample.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/imgresample.c')
-rw-r--r-- | libavcodec/imgresample.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/imgresample.c b/libavcodec/imgresample.c index adcfd04812..2722d5acf7 100644 --- a/libavcodec/imgresample.c +++ b/libavcodec/imgresample.c @@ -802,7 +802,7 @@ int sws_scale(struct SwsContext *ctx, uint8_t* src[], int srcStride[], goto the_end; } } else if (resampled_picture != &dst_pict) { - img_copy(&dst_pict, resampled_picture, current_pix_fmt, + av_picture_copy(&dst_pict, resampled_picture, current_pix_fmt, ctx->resampling_ctx->owidth, ctx->resampling_ctx->oheight); } |