projects
/
cmus.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3622755
)
Remove AV_CODEC_{CAP,FLAG}_TRUNCATED for FFmpeg 6 compatibility
author
Gavin Troy
<gavin@cantlogout.com>
Sun, 16 Apr 2023 21:32:52 +0000
(22:32 +0100)
committer
Sebastian Ramacher
<sramacher@debian.org>
Thu, 27 Jul 2023 19:00:31 +0000
(20:00 +0100)
Closes #1251
Gbp-Pq: Name 0005-Remove-AV_CODEC_-CAP-FLAG-_TRUNCATED-for-FFmpeg-6-co.patch
ip/ffmpeg.c
patch
|
blob
|
history
diff --git
a/ip/ffmpeg.c
b/ip/ffmpeg.c
index 09ed3fc41c6dce68c16c5d266dc985d6e5a28f94..ea0b26fb0f91569f17eb4a0fd1e385ca4b21bd03 100644
(file)
--- 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;