Commit 89b2be83 authored by Derk-Jan Hartman's avatar Derk-Jan Hartman

* Check if dvbpsi_DecodeISO639Dr fails.

  Fixes #1104
parent 295240a1
......@@ -2,7 +2,7 @@
* mpeg_ts.c : Transport Stream input module for vlc
*****************************************************************************
* Copyright (C) 2000-2004 VideoLAN
* $Id: ts.c,v 1.47 2004/03/03 20:39:52 gbazin Exp $
* $Id$
*
* Authors: Henri Fallon <henri@via.ecp.fr>
* Johan Bilien <jobi@via.ecp.fr>
......@@ -1732,6 +1732,7 @@ static void TS_DVBPSI_HandlePMT( input_thread_t * p_input,
{
dvbpsi_iso639_dr_t *p_decoded =
dvbpsi_DecodeISO639Dr( p_dr );
if( p_decoded != NULL )
local_iso639_getlang(p_decoded->i_iso_639_code, psz_desc);
#if 0
if( p_decoded->i_code_count > 0 )
......
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