]> git.pld-linux.org Git - packages/faad2.git/blobdiff - faad2-mpeg4ip.patch
- fix compilation with mpeg4ip >= 1.6
[packages/faad2.git] / faad2-mpeg4ip.patch
index 507588c80ad25a06128e4ba37afe71824bfd92c6..97d6e3e527fd29b2257255fec9eb83a233771a0c 100644 (file)
     else
        AC_MSG_NOTICE("MPEG4IP libmp4v2 is required for MPEG4IP plugin")
     fi
+--- faad2/plugins/mpeg4ip/faad2.cpp.orig       2007-11-13 21:24:36.000000000 +0100
++++ faad2/plugins/mpeg4ip/faad2.cpp    2007-11-13 21:38:55.000000000 +0100
+@@ -67,7 +67,7 @@
+     // This is not necessarilly right - it is, for the most part, but
+     // we should be reading the fmtp statement, and looking at the config.
+     // (like we do below in the userdata section...
+-    aac->m_freq = media_fmt->rtpmap->clock_rate;
++    aac->m_freq = media_fmt->rtpmap_clock_rate;
+     fmtp = parse_fmtp_for_mpeg4(media_fmt->fmt_param, vft->log_msg);
+     if (fmtp != NULL) {
+       userdata = fmtp->config_binary;
+@@ -308,9 +308,8 @@
+     }
+   }
+   if (fptr != NULL &&
+-      fptr->rtpmap != NULL &&
+-      fptr->rtpmap->encode_name != NULL) {
+-    if (strcasecmp(fptr->rtpmap->encode_name, "mpeg4-generic") != 0) {
++      fptr->rtpmap_name != NULL) {
++    if (strcasecmp(fptr->rtpmap_name, "mpeg4-generic") != 0) {
+       return -1;
+     }
+     if (userdata == NULL) {
This page took 0.155014 seconds and 4 git commands to generate.