diff options
author | Ewald Snel <esnel@users.sourceforge.net> | 2003-03-05 22:12:40 +0000 |
---|---|---|
committer | Ewald Snel <esnel@users.sourceforge.net> | 2003-03-05 22:12:40 +0000 |
commit | ea02fab31dd66ad0d5d321c65046f0ef9c352848 (patch) | |
tree | da687636b4bc8e6c9de0d71d41dcd7bc22efb7da /src/libreal/xine_decoder.c | |
parent | 3ab817f4c29dc5f2126e3a2e9b6525683f037693 (diff) | |
download | xine-lib-ea02fab31dd66ad0d5d321c65046f0ef9c352848.tar.gz xine-lib-ea02fab31dd66ad0d5d321c65046f0ef9c352848.tar.bz2 |
Add option to fix alignment problem with some (buggy) XVideo drivers
Undo previous change to libreal (bug is general video decoding problem)
CVS patchset: 4342
CVS date: 2003/03/05 22:12:40
Diffstat (limited to 'src/libreal/xine_decoder.c')
-rw-r--r-- | src/libreal/xine_decoder.c | 4 |
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; |