You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/media-sound/mixxx/files/mixxx-1.10.0-libmp4v2_r479_...

29 lines
934 B

--- mixxx-1.10.0/plugins/soundsourcem4a/m4a/mp4.c
+++ mixxx-1.10.0/plugins/soundsourcem4a/m4a/mp4.c
@@ -114,7 +114,11 @@
faacDecSetConfiguration(priv->decoder, neaac_cfg);
/* open mpeg-4 file */
+#ifdef MP4_CLOSE_DO_NOT_COMPUTE_BITRATE /* r479 fix */
+ priv->mp4.handle = MP4Read(ip_data->filename);
+#else
priv->mp4.handle = MP4Read(ip_data->filename, 0);
+#endif
if (!priv->mp4.handle) {
d_print("MP4Read failed\n");
goto out;
--- mixxx-1.10.0/plugins/soundsourcem4a/m4a/mp4-mixxx.cpp
+++ mixxx-1.10.0/plugins/soundsourcem4a/m4a/mp4-mixxx.cpp
@@ -164,7 +164,11 @@
faacDecSetConfiguration(priv->decoder, neaac_cfg);
/* open mpeg-4 file */
+#ifdef MP4_CLOSE_DO_NOT_COMPUTE_BITRATE /* r479 fix */
+ priv->mp4.handle = MP4Read(ip_data->filename);
+#else
priv->mp4.handle = MP4Read(ip_data->filename, 0);
+#endif
if (!priv->mp4.handle) {
qDebug() << "MP4Read failed";
goto out;