changeset 1521:c232b6753012 libavcodec

h263 GOB decoding fix
author michael
date Sun, 12 Oct 2003 19:18:37 +0000
parents ad5461bad820
children 79dddc5cd990
files h263.c
diffstat 1 files changed, 4 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/h263.c	Sun Oct 12 14:01:53 2003 +0000
+++ b/h263.c	Sun Oct 12 19:18:37 2003 +0000
@@ -2843,10 +2843,10 @@
 int ff_h263_resync(MpegEncContext *s){
     int left, ret;
     
-    if(s->codec_id==CODEC_ID_MPEG4)
+    if(s->codec_id==CODEC_ID_MPEG4){
         skip_bits1(&s->gb);
-    
-    align_get_bits(&s->gb);
+        align_get_bits(&s->gb);
+    }
 
     if(show_bits(&s->gb, 16)==0){
         if(s->codec_id==CODEC_ID_MPEG4)
@@ -3316,7 +3316,7 @@
     int16_t *mot_val;
     static int8_t quant_tab[4] = { -1, -2, 1, 2 };
     const int xy= s->mb_x + s->mb_y * s->mb_stride;
-
+    
     if (s->pict_type == P_TYPE || s->pict_type==S_TYPE) {
       do{
         if (get_bits1(&s->gb)) {