~vcs-imports/ffmpeg/main

« back to all changes in this revision

Viewing changes to libavcodec/vp3.c

  • Committer: reimar
  • Date: 2010-09-06 19:21:13 UTC
  • Revision ID: vcs-imports@canonical.com-20100906192113-ejqzdgel4mhpu09w
Fix vp3_draw_horiz_band to not produce completely chaotical values
that result in overdrawing areas again and again if s->flipped_image
is false.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1322
1322
        return;
1323
1323
 
1324
1324
    h= y - s->last_slice_end;
 
1325
    s->last_slice_end= y;
1325
1326
    y -= h;
1326
1327
 
1327
1328
    if (!s->flipped_image) {
1338
1339
 
1339
1340
    emms_c();
1340
1341
    s->avctx->draw_horiz_band(s->avctx, &s->current_frame, offset, y, 3, h);
1341
 
    s->last_slice_end= y + h;
1342
1342
}
1343
1343
 
1344
1344
/*