libavcodec/xsubenc.c: Fix bounding box coordinates
authorErik Olofsson <eaj.olofsson@gmail.com>
Thu, 7 Nov 2013 20:07:10 +0000 (21:07 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Tue, 12 Nov 2013 02:15:33 +0000 (03:15 +0100)
commit3b1dcdec7d85f25b39fc90aed026419d394b78a5
tree43b6c8b9b828f77a16381d973a6bf57179d16353
parent355cea8ddc9bcf9e485dd4fdc9ffe7a491450c97
libavcodec/xsubenc.c: Fix bounding box coordinates

Fix coordinates of the lower right corner of the text area.
Note that the coordinates are redundant as the size and
position of the text area are known.
Many decoders (including Sony Playstation 3, VLC and FFmpeg)
ignore the redundant coordinates.
Some hardware decoders need them for correct playback.

Verified on Philips DVD player models HTS7201 and DVP3380.

Fixes ticket #3031

Signed-off-by: Erik Olofsson <eaj.olofsson@gmail.com>
Reviewed-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/xsubenc.c