- Reintroduce modified dvbcut-a52.patch to build against liba52 0.7.x - Add dvbcut-autoconf269.patch - Have Leap also build against ffmpeg 5 OBS-URL: https://build.opensuse.org/request/show/1147101 OBS-URL: https://build.opensuse.org/package/show/multimedia:apps/dvbcut?expand=0&rev=9
27 lines
610 B
Diff
27 lines
610 B
Diff
Index: dvbcut-deb-0.7.4/src/playaudio.cpp
|
|
===================================================================
|
|
--- dvbcut-deb-0.7.4.orig/src/playaudio.cpp
|
|
+++ dvbcut-deb-0.7.4/src/playaudio.cpp
|
|
@@ -80,7 +80,9 @@ public:
|
|
extern "C"
|
|
{
|
|
#include <a52dec/a52.h>
|
|
+#ifndef LIBA52_07
|
|
#include <a52dec/mm_accel.h>
|
|
+#endif
|
|
}
|
|
|
|
/// Simple class for AC3 decoding
|
|
@@ -91,7 +93,11 @@ protected:
|
|
public:
|
|
a52dec() : m_state(0)
|
|
{
|
|
+#ifdef LIBA52_07
|
|
+ m_state=a52_init();
|
|
+#else
|
|
m_state=a52_init(MM_ACCEL_DJBFFT);
|
|
+#endif
|
|
|
|
if (not m_state)
|
|
throw dvbcut_exception("Error setting up AC3 decoder");
|