[vlc-devel] [PATCH] TS demux: fix uninitialized language description

Rafaël Carré funman at videolan.org
Fri May 31 14:35:37 CEST 2013


Bug introduced by me in 12edd19f71
---
 modules/demux/ts.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/demux/ts.c b/modules/demux/ts.c
index ced367c..caa0e49 100644
--- a/modules/demux/ts.c
+++ b/modules/demux/ts.c
@@ -3906,7 +3906,7 @@ static void PMTParseEsIso639( demux_t *p_demux, ts_pid_t *pid,
                 pid->es->fmt.p_extra_languages[i].psz_language[3] = '\0';
             }
             int type = p_decoded->code[i].i_audio_type;
-            pid->es->fmt.psz_description = GetAudioTypeDesc(p_demux, type);
+            pid->es->fmt.p_extra_languages[i].psz_description = GetAudioTypeDesc(p_demux, type);
         }
     }
 #else
-- 
1.8.1.2



More information about the vlc-devel mailing list