Changeset c642d8bbbc5a30533f5e2b5c47539c78af6be479

Show
Ignore:
Timestamp:
02/08/04 13:09:50 (5 years ago)
Author:
Gildas Bazin <gbazin@videolan.org>
git-committer:
Gildas Bazin <gbazin@videolan.org> 1076242190 +0000
git-parent:

[96a6787bf89c264f6b778f947bc0450e42355d40]

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

* modules/codec/ffmpeg/video.c: fixed crash when disabling post-processing with videos with B frames.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • modules/codec/ffmpeg/video.c

    rfa5f109 rc642d8b  
    33 ***************************************************************************** 
    44 * Copyright (C) 1999-2001 VideoLAN 
    5  * $Id: video.c,v 1.62 2004/01/25 21:39:37 gbazin Exp $ 
     5 * $Id: video.c,v 1.63 2004/02/08 12:09:50 gbazin Exp $ 
    66 * 
    77 * Authors: Laurent Aimar <fenrir@via.ecp.fr> 
     
    519519        } 
    520520 
    521         if( !p_sys->b_direct_rendering || p_sys->b_pp ) 
     521        if( !p_sys->b_direct_rendering || 
     522            p_sys->b_pp || !p_sys->p_ff_pic->opaque ) 
    522523        { 
    523524            /* Get a new picture */ 
     
    690691 
    691692    p_sys->input_pts = p_sys->input_dts = 0; 
     693    p_ff_pic->opaque = 0; 
    692694 
    693695    /* Not much to do in indirect rendering mode */