[vlc-devel] commit: subsdec: use VLC_TS_INVALID (refs #3135) ( Rafaël Carré )
git version control
git at videolan.org
Mon Dec 7 17:55:09 CET 2009
vlc | branch: master | Rafaël Carré <rafael.carre at gmail.com> | Mon Dec 7 17:44:17 2009 +0100| [bd8453b58e176114b6fdf6d3e99970e3bbd336c5] | committer: Rafaël Carré
subsdec: use VLC_TS_INVALID (refs #3135)
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=bd8453b58e176114b6fdf6d3e99970e3bbd336c5
---
modules/codec/subtitles/subsdec.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/modules/codec/subtitles/subsdec.c b/modules/codec/subtitles/subsdec.c
index 121f171..2d45794 100644
--- a/modules/codec/subtitles/subsdec.c
+++ b/modules/codec/subtitles/subsdec.c
@@ -407,7 +407,7 @@ static subpicture_t *ParseText( decoder_t *p_dec, block_t *p_block )
video_format_t fmt;
/* We cannot display a subpicture with no date */
- if( p_block->i_pts == 0 )
+ if( p_block->i_pts <= VLC_TS_INVALID )
{
msg_Warn( p_dec, "subtitle without a date" );
return NULL;
More information about the vlc-devel
mailing list