diff options
author | Stefano Sabatini <stefasab@gmail.com> | 2014-11-27 12:27:48 +0100 |
---|---|---|
committer | Stefano Sabatini <stefasab@gmail.com> | 2014-11-27 14:24:16 +0100 |
commit | 29208e6dcf944bbea696d37a354a8bac9b552709 (patch) | |
tree | e82247338b16f2952b5084d1d40298430c084c6c /libavutil/imgutils.c | |
parent | 0167fa00604443aa20a2fb627081a46f1c0be4ff (diff) | |
download | ffmpeg-29208e6dcf944bbea696d37a354a8bac9b552709.tar.gz |
lavu/imgutils: remove redundant and wrong check in av_image_fill_arrays
Diffstat (limited to 'libavutil/imgutils.c')
-rw-r--r-- | libavutil/imgutils.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/libavutil/imgutils.c b/libavutil/imgutils.c index 00b203182b..7f3032bdf3 100644 --- a/libavutil/imgutils.c +++ b/libavutil/imgutils.c @@ -331,9 +331,6 @@ int av_image_fill_arrays(uint8_t *dst_data[4], int dst_linesize[4], for (i = 0; i < 4; i++) dst_linesize[i] = FFALIGN(dst_linesize[i], align); - if ((ret = av_image_fill_pointers(dst_data, pix_fmt, width, NULL, dst_linesize)) < 0) - return ret; - return av_image_fill_pointers(dst_data, pix_fmt, height, (uint8_t *)src, dst_linesize); } |