From 731773b1ff9e67e4171a4a38fe0e0a08e912687a Mon Sep 17 00:00:00 2001 From: Thibaut Mattern Date: Mon, 16 Dec 2002 00:57:35 +0000 Subject: Small hack to fix a problem with width. Now this stream play fine for me : http://a642.g.akamai.net/f/642/1360/5s/hosting1.hosting-media.com/fr/virgin/renaud/video/r_drmr-01_trail-high.rm CVS patchset: 3555 CVS date: 2002/12/16 00:57:35 --- src/libreal/xine_decoder.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/libreal/xine_decoder.c b/src/libreal/xine_decoder.c index 13357f453..6b70e0978 100644 --- a/src/libreal/xine_decoder.c +++ b/src/libreal/xine_decoder.c @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA * - * $Id: xine_decoder.c,v 1.15 2002/12/14 20:01:18 guenter Exp $ + * $Id: xine_decoder.c,v 1.16 2002/12/16 00:57:35 tmattern Exp $ * * thin layer to use real binary-only codecs in xine * @@ -202,6 +202,7 @@ static int init_codec (realdec_decoder_t *this, buf_element_t *buf) { init_data.h = BE_16(&buf->content[14]); this->width = init_data.w; + this->width = (this->width + 7) & (~7); this->height = init_data.h; this->stream->stream_info[XINE_STREAM_INFO_VIDEO_WIDTH] = this->width; -- cgit v1.2.3