Mercurial > mplayer.hg
changeset 8821:76ec79da7a5c
10l (was segfaulting on non-dv file)
author | filon |
---|---|
date | Mon, 06 Jan 2003 14:54:36 +0000 |
parents | 56fc9c8a8692 |
children | 7cd6450b3a2a |
files | libmpdemux/demuxer.c |
diffstat | 1 files changed, 3 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/libmpdemux/demuxer.c Mon Jan 06 13:12:09 2003 +0000 +++ b/libmpdemux/demuxer.c Mon Jan 06 14:54:36 2003 +0000 @@ -846,8 +846,10 @@ mp_msg(MSGT_DEMUXER,MSGL_INFO,MSGTR_Detected_XXX_FileFormat,"RAWDV"); file_format=DEMUXER_TYPE_RAWDV; } - else + else { free_demuxer(demuxer); + demuxer=NULL; + } } #endif //=============== Try to open as audio file: =================