Changeset 95144fb3cd654d30b35668e178c3c2ea844bd369

Show
Ignore:
Timestamp:
07/30/03 00:20:53 (5 years ago)
Author:
Gildas Bazin <gbazin@videolan.org>
git-committer:
Gildas Bazin <gbazin@videolan.org> 1059517253 +0000
git-parent:

[7528b8435b27ee502fb2803718e7fc28de8650cb]

git-author:
Gildas Bazin <gbazin@videolan.org> 1059517253 +0000
Message:

* src/video_output/video_output.c: fixed potential segfault.
* configure.ac: don't bail out if matroska headers are not found.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • configure.ac

    r42b0d32 r95144fb  
    11dnl Autoconf settings for vlc 
    2 dnl $Id: configure.ac,v 1.46 2003/07/29 17:42:58 gbazin Exp $ 
     2dnl $Id: configure.ac,v 1.47 2003/07/29 22:20:53 gbazin Exp $ 
    33 
    44AC_INIT(vlc,0.6.1) 
     
    14191419      AX_ADD_LDFLAGS([mkv],[-lmatroska -lebml]) 
    14201420    ]) 
    1421   ],[ 
    1422     AC_MSG_ERROR([libebml or libmatroska include files not found]) 
    14231421  ]) 
    14241422  CPPFLAGS="${CPPFLAGS_save}" 
  • src/video_output/video_output.c

    r4684a91 r95144fb  
    66 ***************************************************************************** 
    77 * Copyright (C) 2000-2001 VideoLAN 
    8  * $Id: video_output.c,v 1.230 2003/07/23 22:01:25 gbazin Exp $ 
     8 * $Id: video_output.c,v 1.231 2003/07/29 22:20:53 gbazin Exp $ 
    99 * 
    1010 * Authors: Vincent Seguin <seguin@via.ecp.fr> 
     
    395395        return NULL; 
    396396    } 
     397 
    397398    p_vout->p_text_renderer_module = module_Need( p_vout, "text renderer",  
    398399                          NULL ); 
     
    402403    p_vout->pf_add_string = NULL; 
    403404    } 
     405 
    404406    /* Create a few object variables for interface interaction */ 
    405407    var_Create( p_vout, "fullscreen", VLC_VAR_BOOL ); 
     
    10491051    } 
    10501052 
    1051     module_Unneed( p_vout, p_vout->p_text_renderer_module ); 
     1053    if( p_vout->p_text_renderer_module ) 
     1054        module_Unneed( p_vout, p_vout->p_text_renderer_module ); 
    10521055     
    10531056    /* Destroy translation tables */