commit f0c17294e41d007a6fd848495bf2ff36f01227ea
Author: sagitter <sagitter(a)fedoraproject.org>
Date: Sat Jan 20 12:07:48 2018 +0100
Refresh original patch
lives-ffmpeg35_buildfix.patch | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/lives-ffmpeg35_buildfix.patch b/lives-ffmpeg35_buildfix.patch
index 6beefb5..9be72a1 100644
--- a/lives-ffmpeg35_buildfix.patch
+++ b/lives-ffmpeg35_buildfix.patch
@@ -184,7 +184,7 @@
get_samps_and_signed(cc->sample_fmt, &cdata->asamps,
&cdata->asigned);
- sprintf(cdata->audio_name, "%s", cc->codec_name);
-+ sprintf(cdata->audio_name, "%s", cc->codec_type);
++ sprintf(cdata->audio_name, "%s", avcodec_get_name(cc->codec_id));
priv->astream = i;
break;
@@ -193,7 +193,7 @@
}
- sprintf(cdata->video_name, "%s", cc->codec_name);
-+ sprintf(cdata->video_name, "%s", cc->codec_type);
++ sprintf(cdata->video_name, "%s", avcodec_get_name(cc->codec_id));
cdata->par = cc->sample_aspect_ratio.num / cc->sample_aspect_ratio.den;
if (cdata->par == 0) cdata->par = 1;