diff options
author | Stefano Sabatini <stefano.sabatini-lala@poste.it> | 2010-09-07 19:15:29 +0000 |
---|---|---|
committer | Stefano Sabatini <stefano.sabatini-lala@poste.it> | 2010-09-07 19:15:29 +0000 |
commit | e16f217ceb95395669abe3cea18737e92fb78c82 (patch) | |
tree | 8e55022c675d84e0cf39ebb7047396992dd93e7d /libavfilter/defaults.c | |
parent | 9b7269e379289e240404c803acac25c607bb0e26 (diff) | |
download | ffmpeg-e16f217ceb95395669abe3cea18737e92fb78c82.tar.gz |
Use new imgutils.h API names, fix deprecation warnings.
Originally committed as revision 25058 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavfilter/defaults.c')
-rw-r--r-- | libavfilter/defaults.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libavfilter/defaults.c b/libavfilter/defaults.c index 19559b1250..7e44901e4a 100644 --- a/libavfilter/defaults.c +++ b/libavfilter/defaults.c @@ -54,17 +54,17 @@ AVFilterBufferRef *avfilter_default_get_video_buffer(AVFilterLink *link, int per pic->refcount = 1; ref->format = link->format; pic->free = avfilter_default_free_buffer; - av_fill_image_linesizes(pic->linesize, ref->format, ref->video->w); + av_image_fill_linesizes(pic->linesize, ref->format, ref->video->w); for (i = 0; i < 4; i++) pic->linesize[i] = FFALIGN(pic->linesize[i], 16); - tempsize = av_fill_image_pointers(pic->data, ref->format, ref->video->h, NULL, pic->linesize); + tempsize = av_image_fill_pointers(pic->data, ref->format, ref->video->h, NULL, pic->linesize); buf = av_malloc(tempsize + 16); // +2 is needed for swscaler, +16 to be // SIMD-friendly if (!buf) goto fail; - av_fill_image_pointers(pic->data, ref->format, ref->video->h, buf, pic->linesize); + av_image_fill_pointers(pic->data, ref->format, ref->video->h, buf, pic->linesize); memcpy(ref->data, pic->data, sizeof(ref->data)); memcpy(ref->linesize, pic->linesize, sizeof(ref->linesize)); |