From 93dd19e06962b6a4b38567cfa8c7e26579e3d3bb Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Mon, 5 Feb 2007 18:36:28 +0000 Subject: [PATCH] 10l uninitalized cola seek regression tests are now deterministic Originally committed as revision 7833 to svn://svn.ffmpeg.org/ffmpeg/trunk --- tests/seek_test.c | 3 +++ 1 file changed, 3 insertions(+) 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){