Commit 1f69b3f1 authored by mru's avatar mru

Fix argument type mismatches for av_picture_crop and av_picture_fill

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19314 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 45c20028
......@@ -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);
......
......@@ -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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment