Deprecate ff_get_plane_bytewidth() in favor of
av_get_image_linesize(). Originally committed as revision 24787 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
@@ -21,8 +21,8 @@
|
||||
|
||||
/* #define DEBUG */
|
||||
|
||||
#include "libavcodec/imgconvert.h"
|
||||
#include "libavutil/pixdesc.h"
|
||||
#include "libavcore/imgutils.h"
|
||||
#include "avfilter.h"
|
||||
#include "internal.h"
|
||||
|
||||
@@ -322,7 +322,7 @@ void avfilter_draw_slice(AVFilterLink *link, int y, int h, int slice_dir)
|
||||
|
||||
for(i = 0; i < 4; i ++) {
|
||||
int planew =
|
||||
ff_get_plane_bytewidth(link->format, link->cur_buf->video->w, i);
|
||||
av_get_image_linesize(link->format, link->cur_buf->video->w, i);
|
||||
|
||||
if(!src[i]) continue;
|
||||
|
||||
|
||||
@@ -26,7 +26,7 @@
|
||||
|
||||
#define LIBAVFILTER_VERSION_MAJOR 1
|
||||
#define LIBAVFILTER_VERSION_MINOR 34
|
||||
#define LIBAVFILTER_VERSION_MICRO 0
|
||||
#define LIBAVFILTER_VERSION_MICRO 1
|
||||
|
||||
#define LIBAVFILTER_VERSION_INT AV_VERSION_INT(LIBAVFILTER_VERSION_MAJOR, \
|
||||
LIBAVFILTER_VERSION_MINOR, \
|
||||
|
||||
Reference in New Issue
Block a user