forked from FFmpeg/FFmpeg
Do not leave uninitialized data in the packet in MPC demuxer. Should allow for
adding a demuxer test to FATE. Originally committed as revision 21916 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
4280f9bbcd
commit
2e5195646d
1 changed files with 2 additions and 0 deletions
|
@ -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;
|
||||||
|
|
Loading…
Add table
Reference in a new issue