Browse Source

Mark all 12 block unused when there are no coded blocks

Fixes 422/444 artifacts

Originally committed as revision 4708 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/v0.5
Ivan Kalvachev 19 years ago
parent
commit
31a78b718b
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavcodec/mpeg12.c

+ 1
- 1
libavcodec/mpeg12.c View File

@@ -1436,7 +1436,7 @@ static int mpeg_decode_mb(MpegEncContext *s,
}
}
}else{
for(i=0;i<6;i++)
for(i=0;i<12;i++)
s->block_last_index[i] = -1;
}
}


Loading…
Cancel
Save