changeset 18043:97aa495df9dd

segfault fix: assign param->apid (that is the audio id found) when inexistent audio language is specified; patch by Erik Auerswald auerswal a unix-ag d uni-kl d de
author nicodvb
date Wed, 05 Apr 2006 18:50:24 +0000
parents b46f0617aa1a
children b693d92e6210
files libmpdemux/demux_ts.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/libmpdemux/demux_ts.c	Wed Apr 05 16:59:43 2006 +0000
+++ b/libmpdemux/demux_ts.c	Wed Apr 05 18:50:24 2006 +0000
@@ -578,6 +578,7 @@
 					if(a52_check(pptr->buf, pptr->pos) > 2)
 					{
 						param->atype = AUDIO_A52;
+						param->apid = es.pid;
 						es.type = AUDIO_A52;
 					}
 				}