mirror of https://github.com/mpv-player/mpv
Slightly simplify IsValidAudioPacket
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24524 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
6bfcbe1e81
commit
5ea0bc8d0e
|
@ -232,9 +232,6 @@ static int tmf_load_chunk( demuxer_t *demux, TiVoInfo *tivo,
|
||||||
|
|
||||||
static int IsValidAudioPacket( int size, int *ptsOffset, int *ptsLen )
|
static int IsValidAudioPacket( int size, int *ptsOffset, int *ptsLen )
|
||||||
{
|
{
|
||||||
*ptsOffset = 0;
|
|
||||||
*ptsLen = 0;
|
|
||||||
|
|
||||||
// AC-3
|
// AC-3
|
||||||
if ( size == 1550 || size == 1552 )
|
if ( size == 1550 || size == 1552 )
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue