[SCM] faad2/master: One +1 is enough.

fabian-guest at users.alioth.debian.org fabian-guest at users.alioth.debian.org
Fri Nov 11 14:06:42 UTC 2011


The following commit has been merged in the master branch:
commit 7b4fcc6b86c82a6d9d1aad3985220ea44876b612
Author: Fabian Greffrath <fabian+debian at greffrath.com>
Date:   Fri Nov 11 15:09:38 2011 +0100

    One +1 is enough.

diff --git a/debian/patches/path_max.patch b/debian/patches/path_max.patch
index 1352c54..553be0f 100644
--- a/debian/patches/path_max.patch
+++ b/debian/patches/path_max.patch
@@ -61,7 +61,7 @@ Last-Update: 2011-11-11
       */
      if(!writeToStdio && !outfile_set)
      {
-+        audioFileName = (char *) malloc(sizeof(char) * (strlen(aacFileName) + 1 + strlen(file_ext[format]) + 1));
++        audioFileName = (char *) malloc(sizeof(char) * (strlen(aacFileName) + strlen(file_ext[format]) + 1));
 +        if (audioFileName == NULL)
 +        {
 +            faad_fprintf(stderr, "Error allocating memory for audioFileName.\n");

-- 
faad2 packaging



More information about the pkg-multimedia-commits mailing list