summaryrefslogtreecommitdiffstats
path: root/libhb/common.c
diff options
context:
space:
mode:
authorsaintdev <[email protected]>2008-06-17 21:08:26 +0000
committersaintdev <[email protected]>2008-06-17 21:08:26 +0000
commit9d9d31142edce01d8a07b36444e82dd2a1a3c239 (patch)
tree47d202fb9558d6484ff36f95dc7073019a6217f4 /libhb/common.c
parent34e47affe61deb452af43d40cfec52a8bcd608f8 (diff)
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
Diffstat (limited to 'libhb/common.c')
-rw-r--r--libhb/common.c7
1 files changed, 0 insertions, 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 <stdarg.h>
#include <time.h>
#include <sys/time.h>
-#include <assert.h>
#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)) )