diff options
author | wm4 <wm4@nowhere> | 2012-11-20 17:23:17 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2012-11-20 18:00:16 +0100 |
commit | ef75d0ff260fff688c23e72f86d437d8d1e59a58 (patch) | |
tree | f92a5a6076bc5feb1eeca81acc77797c37cd11d5 /core/mplayer.c | |
parent | 2cdbaaf31c85b27923c1795b5c4e3e576cdb4567 (diff) | |
download | mpv-ef75d0ff260fff688c23e72f86d437d8d1e59a58.tar.bz2 mpv-ef75d0ff260fff688c23e72f86d437d8d1e59a58.tar.xz |
core: minor cleanups
Enable printf format warnings for set_osd_[t]msg.
Remove the pointless assertion in mplayer.c (the assertion proved that
the following NULL check is probably pointless, but leave that check
anyway for robustness - it's not really clear whether it's needed).
Diffstat (limited to 'core/mplayer.c')
-rw-r--r-- | core/mplayer.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/core/mplayer.c b/core/mplayer.c index 32c86d2dc7..a760a3d8cc 100644 --- a/core/mplayer.c +++ b/core/mplayer.c @@ -1474,7 +1474,6 @@ static void add_seek_osd_messages(struct MPContext *mpctx) "Chapter: %s", chapter); talloc_free(chapter); } - assert(mpctx->master_demuxer); if ((mpctx->add_osd_seek_info & OSD_SEEK_INFO_EDITION) && mpctx->master_demuxer) { |