diff libmpdemux/demux_film.c @ 31609:cd81fce1f010

Make the stream language an argument to the stream creation function so that some code can be shared.
author reimar
date Sat, 10 Jul 2010 18:47:59 +0000
parents 0f1b5b68af32
children c08363dc5320
line wrap: on
line diff
--- a/libmpdemux/demux_film.c	Sat Jul 10 18:11:05 2010 +0000
+++ b/libmpdemux/demux_film.c	Sat Jul 10 18:47:59 2010 +0000
@@ -321,7 +321,7 @@
         if (audio_channels > 0)
         {
           // create and initialize the audio stream header
-          sh_audio = new_sh_audio(demuxer, 0);
+          sh_audio = new_sh_audio(demuxer, 0, NULL);
           demuxer->audio->id = 0;
           demuxer->audio->sh = sh_audio;
           sh_audio->ds = demuxer->audio;
@@ -353,7 +353,7 @@
         // otherwise, make some assumptions about the audio
 
         // create and initialize the audio stream header
-        sh_audio = new_sh_audio(demuxer, 0);
+        sh_audio = new_sh_audio(demuxer, 0, NULL);
         demuxer->audio->sh = sh_audio;
         sh_audio->ds = demuxer->audio;