aboutsummaryrefslogtreecommitdiffstats
path: root/tests/seek_test.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2007-02-05 18:36:28 +0000
committerMichael Niedermayer <michaelni@gmx.at>2007-02-05 18:36:28 +0000
commit93dd19e06962b6a4b38567cfa8c7e26579e3d3bb (patch)
treefcfa2fe02340b7e305e636b884feb56e255ee16d /tests/seek_test.c
parentf97b7e66de986dc7337b36fc2a8bcd5fb6fa5d86 (diff)
downloadffmpeg-93dd19e06962b6a4b38567cfa8c7e26579e3d3bb.tar.gz
10l uninitalized cola
seek regression tests are now deterministic Originally committed as revision 7833 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'tests/seek_test.c')
-rw-r--r--tests/seek_test.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/seek_test.c b/tests/seek_test.c
index cab1b0a607..cbc3dd5245 100644
--- a/tests/seek_test.c
+++ b/tests/seek_test.c
@@ -63,6 +63,9 @@ int main(int argc, char **argv)
for(i=0; ; i++){
AVPacket pkt;
AVStream *st;
+
+ memset(&pkt, 0, sizeof(pkt));
+
ret= av_read_frame(ic, &pkt);
printf("ret:%2d", ret);
if(ret>=0){