1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-23 12:43:46 +02:00

This should not be part of the public API

Originally committed as revision 11960 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Vitor Sessak 2008-02-15 20:19:46 +00:00
parent fba95d3c23
commit 6dd36490c7

View File

@ -841,7 +841,7 @@ void ff_img_copy_plane(uint8_t *dst, int dst_wrap,
}
}
int av_get_plane_bytewidth(enum PixelFormat pix_fmt, int width, int plane)
int ff_get_plane_bytewidth(enum PixelFormat pix_fmt, int width, int plane)
{
int bits;
const PixFmtInfo *pf = &pix_fmt_info[pix_fmt];
@ -894,7 +894,7 @@ void av_picture_copy(AVPicture *dst, const AVPicture *src,
case FF_PIXEL_PLANAR:
for(i = 0; i < pf->nb_channels; i++) {
int w, h;
int bwidth = av_get_plane_bytewidth(pix_fmt, width, i);
int bwidth = ff_get_plane_bytewidth(pix_fmt, width, i);
w = width;
h = height;
if (i == 1 || i == 2) {