Commit 8b22a6d7 authored by vitor's avatar vitor

Do not leave uninitialized data in the packet in MPC demuxer. Should allow for

adding a demuxer test to FATE.


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@21916 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 166046a1
...@@ -170,6 +170,8 @@ static int mpc_read_packet(AVFormatContext *s, AVPacket *pkt) ...@@ -170,6 +170,8 @@ static int mpc_read_packet(AVFormatContext *s, AVPacket *pkt)
pkt->data[0] = curbits; pkt->data[0] = curbits;
pkt->data[1] = (c->curframe > c->fcount); pkt->data[1] = (c->curframe > c->fcount);
pkt->data[2] = 0;
pkt->data[3] = 0;
pkt->stream_index = 0; pkt->stream_index = 0;
pkt->pts = cur; pkt->pts = cur;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment