pthreads: reset got_frames on flush.
authorMichael Niedermayer <michaelni@gmx.at>
Mon, 23 Jan 2012 02:39:59 +0000 (03:39 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Mon, 23 Jan 2012 18:47:49 +0000 (19:47 +0100)
commit575d494de561049f36f9c5492e05c7d83dd78e75
treeb34e1116f79a4965bfca7dad971fec580e3c34df
parentc7579ad8e84c5aa28a0540604e8983cbde7ac37b
pthreads: reset got_frames on flush.

This fixes memory corruption when seeking in broken streams.
a random mpeg4 in nut file was used to debug.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/pthread.c