diff options
-rw-r--r-- | multimedia/libxine/Makefile | 2 | ||||
-rw-r--r-- | multimedia/libxine/files/patch-src:libffmpeg:libavcodec:mpegvideo.c | 19 |
2 files changed, 20 insertions, 1 deletions
diff --git a/multimedia/libxine/Makefile b/multimedia/libxine/Makefile index 33c0d8870e7d..c1d4c29aca10 100644 --- a/multimedia/libxine/Makefile +++ b/multimedia/libxine/Makefile @@ -7,7 +7,7 @@ PORTNAME= xine PORTVERSION= 1.0.r5 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= multimedia MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= ${PORTNAME} diff --git a/multimedia/libxine/files/patch-src:libffmpeg:libavcodec:mpegvideo.c b/multimedia/libxine/files/patch-src:libffmpeg:libavcodec:mpegvideo.c new file mode 100644 index 000000000000..e801a9af4694 --- /dev/null +++ b/multimedia/libxine/files/patch-src:libffmpeg:libavcodec:mpegvideo.c @@ -0,0 +1,19 @@ +--- src/libffmpeg/libavcodec/mpegvideo.c.orig Sun May 30 21:24:21 2004 ++++ src/libffmpeg/libavcodec/mpegvideo.c Sat Sep 11 23:30:05 2004 +@@ -3926,6 +3926,8 @@ + +sse(s, s->new_picture.data[2] + s->mb_x*8 + s->mb_y*s->uvlinesize*8,s->dest[2], w>>1, h>>1, s->uvlinesize); + } + ++/* xine: do not need this for decode or MPEG-1 encoding modes */ ++#if 0 + static int pre_estimate_motion_thread(AVCodecContext *c, void *arg){ + MpegEncContext *s= arg; + +@@ -3969,6 +3971,7 @@ + } + return 0; + } ++#endif + + static int mb_var_thread(AVCodecContext *c, void *arg){ + MpegEncContext *s= arg; |