Fix a core dump when trying to configure the "copy" audio codec.

Noticed by Olivier Cherrier <oc at symacx dot com>, thanks!
This commit is contained in:
ajacoutot 2006-10-20 23:35:17 +00:00
parent f8166a12da
commit a90ff81a19
2 changed files with 14 additions and 1 deletions

View File

@ -1,8 +1,9 @@
# $OpenBSD: Makefile,v 1.1.1.1 2006/10/19 16:22:06 ajacoutot Exp $
# $OpenBSD: Makefile,v 1.2 2006/10/20 23:35:17 ajacoutot Exp $
COMMENT= "free video editor"
DISTNAME= avidemux-2.1.2
PKGNAME= ${DISTNAME}p0
CATEGORIES= multimedia
MASTER_SITES= ${MASTER_SITE_BERLIOS:=avidemux/}

View File

@ -0,0 +1,12 @@
$OpenBSD: patch-avidemux_ADM_audiofilter_audiodeng_buildfilters_cpp,v 1.1 2006/10/20 23:35:17 ajacoutot Exp $
--- avidemux/ADM_audiofilter/audiodeng_buildfilters.cpp.orig Fri Oct 20 20:30:46 2006
+++ avidemux/ADM_audiofilter/audiodeng_buildfilters.cpp Fri Oct 20 20:31:08 2006
@@ -482,7 +482,7 @@ void audioCodecConfigure( void )
}
return;
default:
- ADM_assert(0);
+ ADM_assert(!0);
}