mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-11-26 19:01:44 +02:00
avfilter/vf_uspp: clear AVPacket to not leave uninitialized memory
Fixes CID1260707 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
0c10cf6ab1
commit
eb465b8c56
@ -250,7 +250,7 @@ static void filter(USPPContext *p, uint8_t *dst[3], uint8_t *src[3],
|
||||
const int y1c = y1 >> p->vsub;
|
||||
const int BLOCKc = BLOCK >> p->hsub;
|
||||
int offset;
|
||||
AVPacket pkt;
|
||||
AVPacket pkt = {0};
|
||||
int got_pkt_ptr;
|
||||
|
||||
av_init_packet(&pkt);
|
||||
|
Loading…
Reference in New Issue
Block a user