Skip to content
Snippets Groups Projects
Commit eb465b8c authored by Michael Niedermayer's avatar Michael Niedermayer
Browse files

avfilter/vf_uspp: clear AVPacket to not leave uninitialized memory


Fixes CID1260707

Signed-off-by: default avatarMichael Niedermayer <michaelni@gmx.at>
parent 0c10cf6a
No related branches found
No related tags found
No related merge requests found
...@@ -250,7 +250,7 @@ static void filter(USPPContext *p, uint8_t *dst[3], uint8_t *src[3], ...@@ -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 y1c = y1 >> p->vsub;
const int BLOCKc = BLOCK >> p->hsub; const int BLOCKc = BLOCK >> p->hsub;
int offset; int offset;
AVPacket pkt; AVPacket pkt = {0};
int got_pkt_ptr; int got_pkt_ptr;
av_init_packet(&pkt); av_init_packet(&pkt);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment