octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #53801] [octave forge] (video) fails to build


From: Marius Schamschula
Subject: [Octave-bug-tracker] [bug #53801] [octave forge] (video) fails to build against ffmpeg 4.0
Date: Wed, 2 May 2018 20:04:13 -0400 (EDT)
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_4) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/11.1 Safari/605.1.15

Follow-up Comment #1, bug #53801 (project octave):

This can be fixed with a simple patch:


--- src/AVHandler.cc.orig       2018-04-23 15:45:39.000000000 -0700
+++ src/AVHandler.cc    2018-04-23 15:47:42.000000000 -0700
@@ -243,8 +243,8 @@
   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)
     {


    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?53801>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]