summaryrefslogtreecommitdiff
path: root/math/octave-forge-video/files/patch-AVHandler.cc
diff options
context:
space:
mode:
Diffstat (limited to 'math/octave-forge-video/files/patch-AVHandler.cc')
-rw-r--r--math/octave-forge-video/files/patch-AVHandler.cc20
1 files changed, 0 insertions, 20 deletions
diff --git a/math/octave-forge-video/files/patch-AVHandler.cc b/math/octave-forge-video/files/patch-AVHandler.cc
deleted file mode 100644
index b114750200b1..000000000000
--- a/math/octave-forge-video/files/patch-AVHandler.cc
+++ /dev/null
@@ -1,20 +0,0 @@
-AVHandler.cc:246:29: error: use of undeclared identifier 'CODEC_CAP_TRUNCATED'
- if (codec->capabilities & CODEC_CAP_TRUNCATED)
- ^
-AVHandler.cc:247:30: error: use of undeclared identifier 'CODEC_FLAG_TRUNCATED'
- vstream->codec->flags |= CODEC_FLAG_TRUNCATED;
- ^
-
---- AVHandler.cc.orig 2017-05-28 14:27:02 UTC
-+++ AVHandler.cc
-@@ -243,8 +243,8 @@ AVHandler::setup_read()
- codec_name = codec->name;
-
- // We can handle truncated bitstreams
-- if (codec->capabilities & CODEC_CAP_TRUNCATED)
-- vstream->codec->flags |= CODEC_FLAG_TRUNCATED;
-+ if (codec->capabilities & AV_CODEC_CAP_TRUNCATED)
-+ vstream->codec->flags |= AV_CODEC_FLAG_TRUNCATED;
-
- if (avcodec_open2(vstream->codec, codec, NULL) < 0)
- {