changeset 1975:6876ae55b5e7 libavcodec

rv10 decoding fix
author michael
date Sun, 25 Apr 2004 16:14:13 +0000
parents 8c5489b2cf3e
children 5dfde318d44a
files h263.c
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/h263.c	Sun Apr 25 04:06:09 2004 +0000
+++ b/h263.c	Sun Apr 25 16:14:13 2004 +0000
@@ -4433,6 +4433,8 @@
             }
           } else {
                 level = get_bits(&s->gb, 8);
+                if (level == 255)
+                    level = 128;
           }
         }else{
             level = get_bits(&s->gb, 8);