Browse Source

My commit in r11942 broke compilation.

This fixes it.

Originally committed as revision 11959 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/v0.5
Vitor Sessak 18 years ago
parent
commit
fba95d3c23
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      libavcodec/imgconvert.c

+ 2
- 2
libavcodec/imgconvert.c View File

@@ -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…
Cancel
Save