Commit 096c5fd7 authored by Jean-Paul Saman's avatar Jean-Paul Saman

descriptors/dr_44.c: Build fix

Remove error debugging messages from the descriptor.
parent 9522bf4f
/***************************************************************************** /*****************************************************************************
* dr_44.c * dr_44.c
* Copyright (C) 2011 VideoLAN * Copyright (C) 2011-2012 VideoLAN
* $Id$ * $Id$
* *
* Authors: Ilkka Ollakka * Authors: Ilkka Ollakka
...@@ -21,11 +21,11 @@ ...@@ -21,11 +21,11 @@
* *
*****************************************************************************/ *****************************************************************************/
#include "config.h" #include "config.h"
#include <stdio.h> #include <stdio.h>
#include <stdlib.h> #include <stdlib.h>
#include <stdbool.h>
#include <string.h> #include <string.h>
#if defined(HAVE_INTTYPES_H) #if defined(HAVE_INTTYPES_H)
...@@ -50,11 +50,8 @@ dvbpsi_cable_deliv_sys_dr_t * dvbpsi_DecodeCableDelivSysDr( ...@@ -50,11 +50,8 @@ dvbpsi_cable_deliv_sys_dr_t * dvbpsi_DecodeCableDelivSysDr(
dvbpsi_cable_deliv_sys_dr_t * p_decoded; dvbpsi_cable_deliv_sys_dr_t * p_decoded;
/* Check the tag */ /* Check the tag */
if(p_descriptor->i_tag != 0x44) if (p_descriptor->i_tag != 0x44)
{
DVBPSI_ERROR_ARG("dr_44 decoder", "bad tag (0x%x)", p_descriptor->i_tag);
return NULL; return NULL;
}
/* Don't decode twice */ /* Don't decode twice */
if(p_descriptor->p_decoded) if(p_descriptor->p_decoded)
...@@ -64,10 +61,7 @@ dvbpsi_cable_deliv_sys_dr_t * dvbpsi_DecodeCableDelivSysDr( ...@@ -64,10 +61,7 @@ dvbpsi_cable_deliv_sys_dr_t * dvbpsi_DecodeCableDelivSysDr(
p_decoded = p_decoded =
(dvbpsi_cable_deliv_sys_dr_t*)malloc(sizeof(dvbpsi_cable_deliv_sys_dr_t)); (dvbpsi_cable_deliv_sys_dr_t*)malloc(sizeof(dvbpsi_cable_deliv_sys_dr_t));
if(!p_decoded) if(!p_decoded)
{
DVBPSI_ERROR("dr_44 decoder", "out of memory");
return NULL; return NULL;
}
/* Decode data */ /* Decode data */
p_decoded->i_frequency = (uint32_t)(p_descriptor->p_data[0] << 24) p_decoded->i_frequency = (uint32_t)(p_descriptor->p_data[0] << 24)
...@@ -87,7 +81,6 @@ dvbpsi_cable_deliv_sys_dr_t * dvbpsi_DecodeCableDelivSysDr( ...@@ -87,7 +81,6 @@ dvbpsi_cable_deliv_sys_dr_t * dvbpsi_DecodeCableDelivSysDr(
return p_decoded; return p_decoded;
} }
/***************************************************************************** /*****************************************************************************
* dvbpsi_GenCableDelivSysDr * dvbpsi_GenCableDelivSysDr
*****************************************************************************/ *****************************************************************************/
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment