changeset 24504:75ed76f49c9c

Slightly simplify IsValidAudioPacket
author reimar
date Sat, 15 Sep 2007 11:44:51 +0000
parents 5a70ac2aea03
children f877e1d2bb0f
files libmpdemux/demux_ty.c
diffstat 1 files changed, 0 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/libmpdemux/demux_ty.c	Sat Sep 15 11:41:47 2007 +0000
+++ b/libmpdemux/demux_ty.c	Sat Sep 15 11:44:51 2007 +0000
@@ -232,9 +232,6 @@
 
 static int IsValidAudioPacket( int size, int *ptsOffset, int *ptsLen )
 {
-   *ptsOffset = 0;
-   *ptsLen = 0;
-
    // AC-3
    if ( size == 1550 || size == 1552 )
    {