Browse Source

Fix blend_subrect for some subrects positioned on odd rows.

Patch by Björn Axelsson gecko A acc D umu D se

Originally committed as revision 17014 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/v0.5
Björn Axelsson Carl Eugen Hoyos 16 years ago
parent
commit
4606a05979
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      ffplay.c

+ 2
- 2
ffplay.c View File

@@ -498,8 +498,8 @@ static void blend_subrect(AVPicture *dst, const AVSubtitleRect *rect, int imgw,
p++;
lum++;
}
p += wrap3 + (wrap3 - dstw * BPP);
lum += wrap + (wrap - dstw - dstx);
p += wrap3 - dstw * BPP;
lum += wrap - dstw - dstx;
cb += dst->linesize[1] - width2 - skip2;
cr += dst->linesize[2] - width2 - skip2;
}


Loading…
Cancel
Save