mirror of https://git.ffmpeg.org/ffmpeg.git
My commit in r11942 broke compilation.
This fixes it. Originally committed as revision 11959 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
0fdf410a3a
commit
fba95d3c23
|
@ -608,10 +608,10 @@ int avpicture_fill(AVPicture *picture, uint8_t *ptr,
|
|||
if(avcodec_check_dimensions(NULL, width, height))
|
||||
return -1;
|
||||
|
||||
if (avpicture_fill_linesize(picture, pix_fmt, width))
|
||||
if (ff_fill_linesize(picture, pix_fmt, width))
|
||||
return -1;
|
||||
|
||||
return avpicture_fill_pointer(picture, ptr, pix_fmt, height);
|
||||
return ff_fill_pointer(picture, ptr, pix_fmt, height);
|
||||
}
|
||||
|
||||
int avpicture_layout(const AVPicture* src, int pix_fmt, int width, int height,
|
||||
|
|
Loading…
Reference in New Issue