X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=modules%2Fcodec%2Fffmpeg%2Fvideo.c;h=05ac33c497feb07dc2304446b3abf379d8f2fa4a;hb=de81c25db345fcad4ac8106f52845dc2fd11cf50;hp=aeab7b99e0add525be95e237301836ae936f1c9f;hpb=e7523028f53b0af5d9654e21fa3bdff7adb411bb;p=vlc diff --git a/modules/codec/ffmpeg/video.c b/modules/codec/ffmpeg/video.c index aeab7b99e0..05ac33c497 100644 --- a/modules/codec/ffmpeg/video.c +++ b/modules/codec/ffmpeg/video.c @@ -2,7 +2,7 @@ * video.c: video decoder using the ffmpeg library ***************************************************************************** * Copyright (C) 1999-2001 VideoLAN - * $Id: video.c,v 1.66 2004/02/08 22:37:37 gbazin Exp $ + * $Id: video.c,v 1.67 2004/02/25 17:48:52 fenrir Exp $ * * Authors: Laurent Aimar * Gildas Bazin @@ -373,7 +373,7 @@ picture_t *E_(DecodeVideo)( decoder_t *p_dec, block_t **pp_block ) p_block = *pp_block; - if( p_block->b_discontinuity ) + if( p_block->i_flags&BLOCK_FLAG_DISCONTINUITY ) { p_sys->i_buffer = 0; p_sys->i_pts = 0; /* To make sure we recover properly */