[FFmpeg-cvslog] r20738 - trunk/libavcodec/mpeg12.c
cehoyos
subversion
Sat Dec 5 10:41:23 CET 2009
Author: cehoyos
Date: Sat Dec 5 10:41:23 2009
New Revision: 20738
Log:
Cosmetics: Reindent after r20679.
Modified:
trunk/libavcodec/mpeg12.c
Modified: trunk/libavcodec/mpeg12.c
==============================================================================
--- trunk/libavcodec/mpeg12.c Sat Dec 5 10:36:32 2009 (r20737)
+++ trunk/libavcodec/mpeg12.c Sat Dec 5 10:41:23 2009 (r20738)
@@ -1697,23 +1697,23 @@ static int mpeg_decode_slice(Mpeg1Contex
if(mb_y==0 && s->codec_tag == AV_RL32("SLIF")){
skip_bits1(&s->gb);
}else{
- for(;;) {
- int code = get_vlc2(&s->gb, mbincr_vlc.table, MBINCR_VLC_BITS, 2);
- if (code < 0){
- av_log(s->avctx, AV_LOG_ERROR, "first mb_incr damaged\n");
- return -1;
- }
- if (code >= 33) {
- if (code == 33) {
- s->mb_x += 33;
+ for(;;) {
+ int code = get_vlc2(&s->gb, mbincr_vlc.table, MBINCR_VLC_BITS, 2);
+ if (code < 0){
+ av_log(s->avctx, AV_LOG_ERROR, "first mb_incr damaged\n");
+ return -1;
+ }
+ if (code >= 33) {
+ if (code == 33) {
+ s->mb_x += 33;
+ }
+ /* otherwise, stuffing, nothing to do */
+ } else {
+ s->mb_x += code;
+ break;
}
- /* otherwise, stuffing, nothing to do */
- } else {
- s->mb_x += code;
- break;
}
}
- }
if(s->mb_x >= (unsigned)s->mb_width){
av_log(s->avctx, AV_LOG_ERROR, "initial skip overflow\n");
More information about the ffmpeg-cvslog
mailing list