[MPlayer-cvslog] r35412 - trunk/libmpdemux/demux_film.c

reimar subversion at mplayerhq.hu
Sat Nov 10 15:54:38 CET 2012


Author: reimar
Date: Sat Nov 10 15:54:38 2012
New Revision: 35412

Log:
Use a more obvious condition.

Modified:
   trunk/libmpdemux/demux_film.c

Modified: trunk/libmpdemux/demux_film.c
==============================================================================
--- trunk/libmpdemux/demux_film.c	Sat Nov 10 15:53:11 2012	(r35411)
+++ trunk/libmpdemux/demux_film.c	Sat Nov 10 15:54:38 2012	(r35412)
@@ -422,7 +422,7 @@ static demuxer_t* demux_open_film(demuxe
         // precalculate PTS
         if (!sh_video || film_chunk.syncinfo1 == 0xFFFFFFFF)
         {
-	  if(demuxer->audio->id>=-1)
+	  if(sh_audio)
           film_chunk.pts =
             (float)total_audio_bytes / (float)sh_audio->wf->nAvgBytesPerSec;
           total_audio_bytes += film_chunk.chunk_size;


More information about the MPlayer-cvslog mailing list