[MPlayer-cvslog] r34865 - trunk/mplayer.c

reimar subversion at mplayerhq.hu
Sun Apr 15 23:02:59 CEST 2012


Author: reimar
Date: Sun Apr 15 23:02:59 2012
New Revision: 34865

Log:
Fix dvdnav case to not leave "flush" uninitialized.

Modified:
   trunk/mplayer.c

Modified: trunk/mplayer.c
==============================================================================
--- trunk/mplayer.c	Sun Apr 15 21:19:00 2012	(r34864)
+++ trunk/mplayer.c	Sun Apr 15 23:02:59 2012	(r34865)
@@ -2441,14 +2441,14 @@ static double update_video(int *blit_fra
                 if (mpctx->d_audio)
                     mpctx->d_audio->eof = 0;
                 mpctx->stream->eof = 0;
-            } else
+            }
 #endif
             flush = in_size < 0 && mpctx->d_video->eof;
             if (flush) {
                 start = NULL;
                 in_size = 0;
             }
-            if (in_size < 0)
+            if (mpctx->stream->type != STREAMTYPE_DVDNAV && in_size < 0)
                 return -1;
             if (in_size > max_framesize)
                 max_framesize = in_size;  // stats


More information about the MPlayer-cvslog mailing list