From 9d9d31142edce01d8a07b36444e82dd2a1a3c239 Mon Sep 17 00:00:00 2001 From: saintdev Date: Tue, 17 Jun 2008 21:08:26 +0000 Subject: Remove assert()s. They were really only put there for initial debugging, never intended to make it into the final commit. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1523 b64f7644-9d1e-0410-96f1-a4d463321fa5 --- libhb/common.c | 7 ------- 1 file changed, 7 deletions(-) diff --git a/libhb/common.c b/libhb/common.c index 457ef894f..c625bec9b 100644 --- a/libhb/common.c +++ b/libhb/common.c @@ -7,7 +7,6 @@ #include #include #include -#include #include "common.h" @@ -676,8 +675,6 @@ hb_audio_t *hb_audio_copy(const hb_audio_t *src) *********************************************************************/ void hb_audio_config_init(hb_audio_config_t * audiocfg) { - assert(audiocfg != NULL); - /* Set read only paramaters to invalid values */ audiocfg->in.codec = 0xDEADBEEF; audiocfg->in.bitrate = -1; @@ -704,9 +701,6 @@ void hb_audio_config_init(hb_audio_config_t * audiocfg) *********************************************************************/ int hb_audio_add(const hb_job_t * job, const hb_audio_config_t * audiocfg) { - assert(job != NULL); - assert(audiocfg != NULL); - hb_title_t *title = job->title; hb_audio_t *audio; @@ -753,7 +747,6 @@ int hb_audio_add(const hb_job_t * job, const hb_audio_config_t * audiocfg) hb_audio_config_t * hb_list_audio_config_item(hb_list_t * list, int i) { - assert(list != NULL); hb_audio_t *audio = NULL; if( (audio = hb_list_item(list, i)) ) -- cgit v1.2.3