commit b9ed4e800f8aa6fbebc6b7389448613dda2d427f
Author: leigh123linux <leigh123linux(a)googlemail.com>
Date: Fri Jan 19 22:54:39 2018 +0000
fix patch
ffmpeg35_buildfix.patch | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/ffmpeg35_buildfix.patch b/ffmpeg35_buildfix.patch
index 6beefb5..9be72a1 100644
--- a/ffmpeg35_buildfix.patch
+++ b/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;
Show replies by date