mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2024-12-26 17:32:06 +00:00
avfilter/vf_sr: Fix coverity CID 1439584
This commit is contained in:
parent
50d9c85358
commit
1cb101f60d
@ -250,7 +250,7 @@ static int filter_frame(AVFilterLink *inlink, AVFrame *in)
|
||||
return AVERROR(EIO);
|
||||
}
|
||||
|
||||
sws_scale(sr_context->sws_contexts[2], (const uint8_t **)(&sr_context->output.data),
|
||||
sws_scale(sr_context->sws_contexts[2], (const uint8_t *[4]){(const uint8_t *)sr_context->output.data, 0, 0, 0},
|
||||
(const int[4]){sr_context->sws_output_linesize, 0, 0, 0},
|
||||
0, out->height, (uint8_t * const*)out->data, out->linesize);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user