projects
/
platform
/
upstream
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4280f9b
)
Do not leave uninitialized data in the packet in MPC demuxer. Should allow for
author
Vitor Sessak
<vitor1001@gmail.com>
Sat, 20 Feb 2010 11:22:47 +0000
(11:22 +0000)
committer
Vitor Sessak
<vitor1001@gmail.com>
Sat, 20 Feb 2010 11:22:47 +0000
(11:22 +0000)
adding a demuxer test to FATE.
Originally committed as revision 21916 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavformat/mpc.c
patch
|
blob
|
history
diff --git
a/libavformat/mpc.c
b/libavformat/mpc.c
index
253a900
..
a164783
100644
(file)
--- a/
libavformat/mpc.c
+++ b/
libavformat/mpc.c
@@
-170,6
+170,8
@@
static int mpc_read_packet(AVFormatContext *s, AVPacket *pkt)
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;