Browse Source

Fix argument type mismatches for av_picture_crop and av_picture_fill

Originally committed as revision 19314 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/v0.6
Måns Rullgård 16 years ago
parent
commit
4a30fff60d
2 changed files with 2 additions and 2 deletions
  1. +1
    -1
      libavcodec/avcodec.h
  2. +1
    -1
      libavcodec/imgconvert.c

+ 1
- 1
libavcodec/avcodec.h View File

@@ -2902,7 +2902,7 @@ void avpicture_free(AVPicture *picture);
* @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);



+ 1
- 1
libavcodec/imgconvert.c View File

@@ -1288,7 +1288,7 @@ static inline int is_yuv_planar(const PixFmtInfo *ps)
}

int av_picture_crop(AVPicture *dst, const AVPicture *src,
int pix_fmt, int top_band, int left_band)
enum PixelFormat pix_fmt, int top_band, int left_band)
{
int y_shift;
int x_shift;


Loading…
Cancel
Save