[FFmpeg-cvslog] r21916 - trunk/libavformat/mpc.c
vitor
subversion
Sat Feb 20 12:22:47 CET 2010
Author: vitor
Date: Sat Feb 20 12:22:47 2010
New Revision: 21916
Log:
Do not leave uninitialized data in the packet in MPC demuxer. Should allow for
adding a demuxer test to FATE.
Modified:
trunk/libavformat/mpc.c
Modified: trunk/libavformat/mpc.c
==============================================================================
--- trunk/libavformat/mpc.c Sat Feb 20 00:23:40 2010 (r21915)
+++ trunk/libavformat/mpc.c Sat Feb 20 12:22:47 2010 (r21916)
@@ -170,6 +170,8 @@ static int mpc_read_packet(AVFormatConte
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;
More information about the ffmpeg-cvslog
mailing list