# HG changeset patch # User glantau # Date 997556464 0 # Node ID 6ea595d66852453a028dbde1c5129660540ac1c4 # Parent 4ea4c10d03d804edb051a22d24d24ae3ca9ff0fb fix msmpeg4 seek diff -r 4ea4c10d03d8 -r 6ea595d66852 h263dec.c --- a/h263dec.c Sat Aug 11 19:00:43 2001 +0000 +++ b/h263dec.c Sat Aug 11 19:01:04 2001 +0000 @@ -107,6 +107,10 @@ if (ret < 0) return -1; + /* make sure we start with an I-Frame */ + if (!s->slice_height && (s->pict_type != I_TYPE)) + return -1; + MPV_frame_start(s); #ifdef DEBUG