# HG changeset patch # User michaelni # Date 1035561992 0 # Node ID 9f8c4905928be800d6115553ce07549c39749785 # Parent c3fc09466f92b5c62c8057dd511fcce6327483d9 fixing decoding of streams with no keyframe at the start diff -r c3fc09466f92 -r 9f8c4905928b msmpeg4.c --- a/msmpeg4.c Fri Oct 25 13:39:47 2002 +0000 +++ b/msmpeg4.c Fri Oct 25 16:06:32 2002 +0000 @@ -1170,6 +1170,8 @@ break; } + s->slice_height= s->mb_height; //to avoid 1/0 if the first frame isnt a keyframe + return 0; }