summaryrefslogtreecommitdiff
path: root/src/libreal/xine_decoder.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/libreal/xine_decoder.c')
-rw-r--r--src/libreal/xine_decoder.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libreal/xine_decoder.c b/src/libreal/xine_decoder.c
index bf4411089..c98906318 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.29 2003/03/05 20:17:12 tmattern Exp $
+ * $Id: xine_decoder.c,v 1.30 2003/03/05 22:12:40 esnel Exp $
*
* thin layer to use real binary-only codecs in xine
*
@@ -208,7 +208,7 @@ static int init_codec (realdec_decoder_t *this, buf_element_t *buf) {
init_data.w = BE_16(&buf->content[12]);
init_data.h = BE_16(&buf->content[14]);
- this->width = (init_data.w + 7) & (~7);
+ this->width = (init_data.w + 1) & (~1);
this->height = (init_data.h + 1) & (~1);
this->stream->stream_info[XINE_STREAM_INFO_VIDEO_WIDTH] = this->width;