aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2014-12-30 15:07:14 +0100
committerMichael Niedermayer <michaelni@gmx.at>2014-12-30 15:15:36 +0100
commiteb465b8c56d455fddf0f4f9f2625e2fe3ff7ea06 (patch)
treed38dda4058a4656276d84a30e81506056b77da48
parent0c10cf6ab1aa9ee05b7c9a6074376a33d0c89206 (diff)
downloadffmpeg-eb465b8c56d455fddf0f4f9f2625e2fe3ff7ea06.tar.gz
avfilter/vf_uspp: clear AVPacket to not leave uninitialized memory
Fixes CID1260707 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r--libavfilter/vf_uspp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavfilter/vf_uspp.c b/libavfilter/vf_uspp.c
index ffd340a4cb..2974ebe405 100644
--- a/libavfilter/vf_uspp.c
+++ b/libavfilter/vf_uspp.c
@@ -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);