diff avcodec.h @ 9902:9bdf9fe9018c libavcodec

Fix argument type mismatches for av_picture_crop and av_picture_fill
author mru
date Wed, 01 Jul 2009 10:36:18 +0000
parents 1d10ec092b64
children 8071f8b68d05
line wrap: on
line diff
--- a/avcodec.h	Wed Jul 01 06:48:27 2009 +0000
+++ b/avcodec.h	Wed Jul 01 10:36:18 2009 +0000
@@ -2902,7 +2902,7 @@
  * @return size of the image data in bytes
  */
 int avpicture_fill(AVPicture *picture, uint8_t *ptr,
-                   int pix_fmt, int width, int height);
+                   enum PixelFormat pix_fmt, int width, int height);
 int avpicture_layout(const AVPicture* src, enum PixelFormat pix_fmt, int width, int height,
                      unsigned char *dest, int dest_size);