forked from FFmpeg/FFmpeg
swscale/swscale-test: Fix slice height in random reference data creation.
Found-by: Pedro Arthur <bygrandao@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
This commit is contained in:
parent
7f769ae41e
commit
3afca32561
1 changed files with 1 additions and 1 deletions
|
@ -399,7 +399,7 @@ bad_option:
|
|||
for (y = 0; y < H; y++)
|
||||
for (x = 0; x < W * 4; x++)
|
||||
rgb_data[ x + y * 4 * W] = av_lfg_get(&rand);
|
||||
sws_scale(sws, rgb_src, rgb_stride, 0, H, src, stride);
|
||||
sws_scale(sws, rgb_src, rgb_stride, 0, H / 12, src, stride);
|
||||
sws_freeContext(sws);
|
||||
av_free(rgb_data);
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue