14 lines
351 B
Diff
14 lines
351 B
Diff
https://github.com/cmus/cmus/issues/1251
|
|
|
|
--- a/ip/ffmpeg.c
|
|
+++ b/ip/ffmpeg.c
|
|
@@ -202,8 +202,6 @@
|
|
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));
|