]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/imgconvert.c
typo fixes
[ffmpeg] / libavcodec / imgconvert.c
index a6a5d6f0fca8bffbfa308277ad88459d0b84237f..756c0add2a05f0403de55a6e03b0b92632500f26 100644 (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) {
@@ -2380,7 +2380,7 @@ int img_pad(AVPicture *dst, const AVPicture *src, int height, int width,
 }
 #endif
 
-#ifndef CONFIG_SWSCALER
+#ifndef CONFIG_SWSCALE
 /* XXX: always use linesize. Return -1 if not supported */
 int img_convert(AVPicture *dst, int dst_pix_fmt,
                 const AVPicture *src, int src_pix_fmt,