1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-21 10:15:12 +03:00
aports/community/cmus/ffmpeg6.patch
2023-02-27 23:45:57 +01:00

15 lines
560 B
Diff

https://github.com/FFmpeg/FFmpeg/commit/dd846bc4a9163f875cc2c4e99325c1a7b4ab8e7d
diff --git a/ip/ffmpeg.c b/ip/ffmpeg.c
index 09ed3fc..ea0b26f 100644
--- a/ip/ffmpeg.c
+++ b/ip/ffmpeg.c
@@ -202,9 +202,6 @@ static int ffmpeg_open(struct input_plugin_data *ip_data)
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;