Date: Mon, 30 Jan 2017 21:03:56 +0000 (UTC) From: Jan Beich <jbeich@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r432866 - in head/multimedia/ffmpeg: . files Message-ID: <201701302103.v0UL3uar066499@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: jbeich Date: Mon Jan 30 21:03:55 2017 New Revision: 432866 URL: https://svnweb.freebsd.org/changeset/ports/432866 Log: multimedia/ffmpeg: backport a crashfix for FFSERVER PR: 216605 Submitted by: gosha-necr@yandex.ru Obtained from: upstream Added: head/multimedia/ffmpeg/files/patch-ffserver__config.c (contents, props changed) Modified: head/multimedia/ffmpeg/Makefile (contents, props changed) Modified: head/multimedia/ffmpeg/Makefile ============================================================================== --- head/multimedia/ffmpeg/Makefile Mon Jan 30 21:03:46 2017 (r432865) +++ head/multimedia/ffmpeg/Makefile Mon Jan 30 21:03:55 2017 (r432866) @@ -3,7 +3,7 @@ PORTNAME= ffmpeg PORTVERSION= 3.2.2 -PORTREVISION= 4 +PORTREVISION= 5 PORTEPOCH= 1 CATEGORIES= multimedia audio ipv6 net MASTER_SITES= http://ffmpeg.org/releases/ Added: head/multimedia/ffmpeg/files/patch-ffserver__config.c ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/multimedia/ffmpeg/files/patch-ffserver__config.c Mon Jan 30 21:03:55 2017 (r432866) @@ -0,0 +1,22 @@ +Author: Michael Niedermayer <michael@niedermayer.cc> +Date: Tue Nov 29 18:48:40 2016 +0100 + + ffserver_config: Setup codecpar in add_codec() + + fixes segfault in the status page code + + Signed-off-by: Michael Niedermayer <michael@niedermayer.cc> + +https://git.videolan.org/?p=ffmpeg.git;a=commitdiff;h=472fee91bcf9 + +--- ffserver_config.c.orig 2016-12-05 23:28:53 UTC ++++ ffserver_config.c +@@ -323,6 +323,8 @@ done: + av_dict_free(&recommended); + av_stream_set_recommended_encoder_configuration(st, enc_config); + st->codec = av; ++ st->codecpar = avcodec_parameters_alloc(); ++ avcodec_parameters_from_context(st->codecpar, av); + stream->streams[stream->nb_streams++] = st; + } +
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201701302103.v0UL3uar066499>