Changeset fae5455b0b21b0eb52ed29cb8c2bc27861593186

Show
Ignore:
Timestamp:
03/04/08 22:10:00 (4 months ago)
Author:
Jean-Paul Saman <jpsaman@videolan.org>
git-committer:
Jean-Paul Saman <jpsaman@videolan.org> 1204665000 +0100
git-parent:

[adc068db294f3aca270844d1878fbae821cb3bc3]

git-author:
Jean-Paul Saman <jpsaman@videolan.org> 1204664961 +0100
Message:

More cases were p_md was not checked in Mozilla toolbar code.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • projects/mozilla/vlcshell.cpp

    rfded58d rfae5455  
    821821 
    822822                f_length = (float)f_length * 
    823                         ( ((float)i_xPos-4 ) / ( ((float)i_width-8)/100) ); 
     823                           ( ((float)i_xPos-4 ) / ( ((float)i_width-8)/100) ); 
    824824 
    825825                libvlc_exception_init( &ex ); 
     
    861861            libvlc_exception_clear( &ex ); 
    862862 
    863             if( i_playing == 1
     863            if( (i_playing == 1) && p_md
    864864            { 
    865865                libvlc_exception_init( &ex ); 
     
    876876            libvlc_exception_clear( &ex ); 
    877877        } 
    878         libvlc_media_instance_release( p_md ); 
     878         
     879        if( p_md ) libvlc_media_instance_release( p_md ); 
    879880    } 
    880881    Redraw( w, closure, event );