# HG changeset patch # User reimar # Date 1334523779 0 # Node ID 9b8a830767f2f5b29eb790347acdcfb9919f7f26 # Parent 0da7375c9b617da06eed912cef845eeaa23be0fe Fix dvdnav case to not leave "flush" uninitialized. diff -r 0da7375c9b61 -r 9b8a830767f2 mplayer.c --- a/mplayer.c Sun Apr 15 19:19:00 2012 +0000 +++ b/mplayer.c Sun Apr 15 21:02:59 2012 +0000 @@ -2441,14 +2441,14 @@ 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