[asterisk-commits] file: branch group/media_formats r407952 - /team/group/media_formats/include/...

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Tue Feb 11 07:03:37 CST 2014


Author: file
Date: Tue Feb 11 07:03:35 2014
New Revision: 407952

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=407952
Log:
Formats should be copied here.

Modified:
    team/group/media_formats/include/asterisk/slin.h

Modified: team/group/media_formats/include/asterisk/slin.h
URL: http://svnview.digium.com/svn/asterisk/team/group/media_formats/include/asterisk/slin.h?view=diff&rev=407952&r1=407951&r2=407952
==============================================================================
--- team/group/media_formats/include/asterisk/slin.h (original)
+++ team/group/media_formats/include/asterisk/slin.h Tue Feb 11 07:03:35 2014
@@ -70,7 +70,7 @@
 		.data.ptr = ex_slin8,
 	};
 
-	f.subclass.format = ast_format_slin;
+	f.subclass.format = ast_format_copy(ast_format_slin);
 
 	return &f;
 }
@@ -87,7 +87,7 @@
 		.data.ptr = ex_slin16,
 	};
 
-	f.subclass.format = ast_format_slin16;
+	f.subclass.format = ast_format_copy(ast_format_slin16);
 
 	return &f;
 }




More information about the asterisk-commits mailing list