summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThibaut Mattern <tmattern@users.sourceforge.net>2002-12-16 00:57:35 +0000
committerThibaut Mattern <tmattern@users.sourceforge.net>2002-12-16 00:57:35 +0000
commit731773b1ff9e67e4171a4a38fe0e0a08e912687a (patch)
tree84587f37528edb9c0099e087374b33f8b43e8db1
parent3cb122c571931850d1bec58cd13882c5a4fa9f6a (diff)
downloadxine-lib-731773b1ff9e67e4171a4a38fe0e0a08e912687a.tar.gz
xine-lib-731773b1ff9e67e4171a4a38fe0e0a08e912687a.tar.bz2
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
-rw-r--r--src/libreal/xine_decoder.c3
1 files changed, 2 insertions, 1 deletions
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;