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

reimar subversion at mplayerhq.hu
Mon Jan 20 23:08:43 CET 2014


Author: reimar
Date: Mon Jan 20 23:08:42 2014
New Revision: 36673

Log:
print_file_info: Do not assume we have a demuxer.

Modified:
   trunk/mplayer.c

Modified: trunk/mplayer.c
==============================================================================
--- trunk/mplayer.c	Mon Jan 20 23:08:41 2014	(r36672)
+++ trunk/mplayer.c	Mon Jan 20 23:08:42 2014	(r36673)
@@ -514,7 +514,7 @@ static void print_file_properties(const 
     double video_start_pts = MP_NOPTS_VALUE;
     mp_msg(MSGT_IDENTIFY, MSGL_INFO, "ID_FILENAME=%s\n",
            filename_recode(filename));
-    mp_msg(MSGT_IDENTIFY, MSGL_INFO, "ID_DEMUXER=%s\n", mpctx->demuxer->desc->name);
+    mp_msg(MSGT_IDENTIFY, MSGL_INFO, "ID_DEMUXER=%s\n", mpctx->demuxer ? mpctx->demuxer->desc->name : "none");
     if (mpctx->sh_video) {
         /* Assume FOURCC if all bytes >= 0x20 (' ') */
         if (mpctx->sh_video->format >= 0x20202020)


More information about the MPlayer-cvslog mailing list