FreeBSD Bugzilla – Attachment 240821 Details for
Bug 270179
audio/cmus: FFmpeg 6.0 compatibility fix
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch for cmus
ffmpeg6-compat-cmus.patch (text/plain), 655 bytes, created by
Daniel Engberg
on 2023-03-13 15:29:25 UTC
(
hide
)
Description:
Patch for cmus
Filename:
MIME Type:
Creator:
Daniel Engberg
Created:
2023-03-13 15:29:25 UTC
Size:
655 bytes
patch
obsolete
>diff --git a/audio/cmus/files/patch-ip_ffmpeg.c b/audio/cmus/files/patch-ip_ffmpeg.c >new file mode 100644 >index 000000000000..c86ccfa3efe5 >--- /dev/null >+++ b/audio/cmus/files/patch-ip_ffmpeg.c >@@ -0,0 +1,12 @@ >+--- ip/ffmpeg.c.orig 2022-07-05 20:20:28 UTC >++++ ip/ffmpeg.c >+@@ -202,9 +202,6 @@ static int ffmpeg_open(struct input_plugin_data *ip_da >+ break; >+ } >+ >+- if (codec->capabilities & AV_CODEC_CAP_TRUNCATED) >+- cc->flags |= AV_CODEC_FLAG_TRUNCATED; >+- >+ if (avcodec_open2(cc, codec, NULL) < 0) { >+ d_print("could not open codec: %d, %s\n", cc->codec_id, avcodec_get_name(cc->codec_id)); >+ err = -IP_ERROR_UNSUPPORTED_FILE_TYPE;
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 270179
: 240821