public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in media-libs/xine-lib/files: xine-lib-1.1.16.2-avutil.patch
@ 2009-03-08 21:28 Alexis Ballier (aballier)
  0 siblings, 0 replies; only message in thread
From: Alexis Ballier (aballier) @ 2009-03-08 21:28 UTC (permalink / raw
  To: gentoo-commits

aballier    09/03/08 21:28:41

  Added:                xine-lib-1.1.16.2-avutil.patch
  Log:
  Add a patch from upstream to fix build with latest libavutil
  (Portage version: 2.2_rc23/cvs/Linux x86_64)

Revision  Changes    Path
1.1                  media-libs/xine-lib/files/xine-lib-1.1.16.2-avutil.patch

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/xine-lib/files/xine-lib-1.1.16.2-avutil.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/xine-lib/files/xine-lib-1.1.16.2-avutil.patch?rev=1.1&content-type=text/plain

Index: xine-lib-1.1.16.2-avutil.patch
===================================================================
# HG changeset patch
# User Alexis Ballier <aballier@gentoo.org>
# Date 1236540650 -3600
# Node ID 044a503f894304328c991f6495f9e14c4c4e5ecb
# Parent  ba642133c0c8b4ece4cb4d2a98355afde7264900
Fix build with libavutil >= 50.0.0

PIX_FMT_RGBA32 was #defined to PIX_FMT_RGB32 since 2006.

diff -r ba642133c0c8 -r 044a503f8943 src/combined/ffmpeg/ff_video_decoder.c
--- a/src/combined/ffmpeg/ff_video_decoder.c	Sun Mar 08 16:33:02 2009 +0000
+++ b/src/combined/ffmpeg/ff_video_decoder.c	Sun Mar 08 20:30:50 2009 +0100
@@ -588,7 +588,7 @@
       img->width,
       this->bih.biHeight);
 
-  } else if (this->context->pix_fmt == PIX_FMT_RGBA32) {
+  } else if (this->context->pix_fmt == PIX_FMT_RGB32) {
           
     int x, plane_ptr = 0;
     uint32_t *argb_pixels;
@@ -1304,7 +1304,7 @@
 
 	  /* initialize the colorspace converter */
 	  if (!this->cs_convert_init) {
-	    if ((this->context->pix_fmt == PIX_FMT_RGBA32) ||
+	    if ((this->context->pix_fmt == PIX_FMT_RGB32) ||
 	        (this->context->pix_fmt == PIX_FMT_RGB565) ||
 	        (this->context->pix_fmt == PIX_FMT_RGB555) ||
 	        (this->context->pix_fmt == PIX_FMT_BGR24) ||






^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2009-03-08 21:28 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-03-08 21:28 [gentoo-commits] gentoo-x86 commit in media-libs/xine-lib/files: xine-lib-1.1.16.2-avutil.patch Alexis Ballier (aballier)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox