[vlc-commits] TS demux: fix uninitialized language description

Rafaël Carré git at videolan.org
Tue Jun 4 20:05:17 CEST 2013


vlc | branch: master | Rafaël Carré <funman at videolan.org> | Fri May 31 14:35:37 2013 +0200| [c4255556147538bcb76772f48058f7bd601f6319] | committer: Rémi Denis-Courmont

TS demux: fix uninitialized language description

Bug introduced by me in 12edd19f71

Signed-off-by: Rémi Denis-Courmont <remi at remlab.net>

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=c4255556147538bcb76772f48058f7bd601f6319
---

 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



More information about the vlc-commits mailing list