changeset 5682:e346e10c9537 libavformat

Do not leave uninitialized data in the packet in MPC demuxer. Should allow for adding a demuxer test to FATE.
author vitor
date Sat, 20 Feb 2010 11:22:47 +0000
parents 7539c21106ef
children 7dab04a73364
files mpc.c
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/mpc.c	Fri Feb 19 23:23:40 2010 +0000
+++ b/mpc.c	Sat Feb 20 11:22:47 2010 +0000
@@ -170,6 +170,8 @@
 
     pkt->data[0] = curbits;
     pkt->data[1] = (c->curframe > c->fcount);
+    pkt->data[2] = 0;
+    pkt->data[3] = 0;
 
     pkt->stream_index = 0;
     pkt->pts = cur;