summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEwald Snel <esnel@users.sourceforge.net>2002-12-21 14:57:36 +0000
committerEwald Snel <esnel@users.sourceforge.net>2002-12-21 14:57:36 +0000
commitbde69af670009f1fa7ca6b350cce77b98768c9d5 (patch)
tree902845c341dd4e99b3dbda400adeaa660d79d661
parentadfc59f8f04d83123795ce39731cc05a78b7b78d (diff)
downloadxine-lib-bde69af670009f1fa7ca6b350cce77b98768c9d5.tar.gz
xine-lib-bde69af670009f1fa7ca6b350cce77b98768c9d5.tar.bz2
Fix padding (ugly red bar in 'fra-sen-1.avi', right of image)
- video output problems are caused by deinterlace code, not ffmpeg CVS patchset: 3605 CVS date: 2002/12/21 14:57:36
-rw-r--r--src/libffmpeg/xine_decoder.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libffmpeg/xine_decoder.c b/src/libffmpeg/xine_decoder.c
index d1899f424..733dc1aa6 100644
--- a/src/libffmpeg/xine_decoder.c
+++ b/src/libffmpeg/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.81 2002/12/21 12:56:47 miguelfreitas Exp $
+ * $Id: xine_decoder.c,v 1.82 2002/12/21 14:57:36 esnel Exp $
*
* xine decoder plugin using ffmpeg
*
@@ -122,7 +122,7 @@ static void init_video_codec (ff_video_decoder_t *this, xine_bmiheader *bih) {
/* force (width % 8 == 0), otherwise there will be
* display problems with Xv.
*/
- this->bih.biWidth = (this->bih.biWidth + 7) & (~7);
+ this->bih.biWidth = (this->bih.biWidth + 1) & (~1);
this->av_picture = avcodec_alloc_picture();
this->context = avcodec_alloc_context();