Added
Link Here
|
1 |
--- ip/ffmpeg.c.orig 2022-07-05 20:20:28 UTC |
2 |
+++ ip/ffmpeg.c |
3 |
@@ -202,9 +202,6 @@ static int ffmpeg_open(struct input_plugin_data *ip_da |
4 |
break; |
5 |
} |
6 |
|
7 |
- if (codec->capabilities & AV_CODEC_CAP_TRUNCATED) |
8 |
- cc->flags |= AV_CODEC_FLAG_TRUNCATED; |
9 |
- |
10 |
if (avcodec_open2(cc, codec, NULL) < 0) { |
11 |
d_print("could not open codec: %d, %s\n", cc->codec_id, avcodec_get_name(cc->codec_id)); |
12 |
err = -IP_ERROR_UNSUPPORTED_FILE_TYPE; |