mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-23 04:23:08 +00:00
- Playing FLV videos, e.g. from youtube, results in mplayer segfaulting when the video is finished.
PR: ports/135719 Submitted by: Dennis Schneider <dschneid@informatik.hu-berlin.de> Approved by: maintainer
This commit is contained in:
parent
8bc21241d8
commit
9e32b7f0cd
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=237996
@ -7,7 +7,7 @@
|
||||
|
||||
PORTNAME= mplayer
|
||||
PORTVERSION= ${MPLAYER_PORT_VERSION}
|
||||
PORTREVISION= 13
|
||||
PORTREVISION= 14
|
||||
|
||||
COMMENT= High performance media player supporting many formats
|
||||
|
||||
|
11
multimedia/mplayer/files/patch-libmpcodecs__vd_ffmpeg.c
Normal file
11
multimedia/mplayer/files/patch-libmpcodecs__vd_ffmpeg.c
Normal file
@ -0,0 +1,11 @@
|
||||
--- ./libmpcodecs/vd_ffmpeg.c.orig 2007-10-07 15:49:25.000000000 -0400
|
||||
+++ ./libmpcodecs/vd_ffmpeg.c 2009-07-17 14:28:08.733520971 -0400
|
||||
@@ -387,7 +387,7 @@
|
||||
}
|
||||
/* Pass palette to codec */
|
||||
if (sh->bih && (sh->bih->biBitCount <= 8)) {
|
||||
- avctx->palctrl = calloc(1,sizeof(AVPaletteControl));
|
||||
+ avctx->palctrl = av_malloc(sizeof(AVPaletteControl));
|
||||
avctx->palctrl->palette_changed = 1;
|
||||
if (sh->bih->biSize-sizeof(BITMAPINFOHEADER))
|
||||
/* Palette size in biSize */
|
Loading…
Reference in New Issue
Block a user