[vlc-devel] commit: packetizer helper: use VLC_TS_INVALID ( Rafaël Carré )
git version control
git at videolan.org
Mon Dec 7 07:11:00 CET 2009
vlc | branch: master | Rafaël Carré <rafael.carre at gmail.com> | Mon Dec 7 07:08:04 2009 +0100| [7a6f2a5abefa773c3e8f901b75d56afaa762b398] | committer: Rafaël Carré
packetizer helper: use VLC_TS_INVALID
refs #3135
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=7a6f2a5abefa773c3e8f901b75d56afaa762b398
---
modules/packetizer/packetizer_helper.h | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/modules/packetizer/packetizer_helper.h b/modules/packetizer/packetizer_helper.h
index 1c6e67b..b2fd905 100644
--- a/modules/packetizer/packetizer_helper.h
+++ b/modules/packetizer/packetizer_helper.h
@@ -170,8 +170,8 @@ static inline block_t *packetizer_Packetize( packetizer_t *p_pack, block_t **pp_
p_pic = p_pack->pf_parse( p_pack->p_private, &b_used_ts, p_pic );
if( b_used_ts )
{
- p_block_bytestream->i_dts = -1;
- p_block_bytestream->i_pts = -1;
+ p_block_bytestream->i_dts = VLC_TS_INVALID;
+ p_block_bytestream->i_pts = VLC_TS_INVALID;
}
if( !p_pic )
More information about the vlc-devel
mailing list