mirror of
https://github.com/mpv-player/mpv
synced 2025-02-21 07:16:56 +00:00
removed useless check: when is_start is set the size of the payload
can be at most 184 bytes git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20496 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
9b514bd5fe
commit
cb54570f66
@ -2935,12 +2935,6 @@ static int ts_parse(demuxer_t *demuxer , ES_stream_t *es, unsigned char *packet,
|
||||
(*dp)->pos = stream_tell(demuxer->stream);
|
||||
(*dp)->pts = es->pts;
|
||||
|
||||
if(*dp_offset >= MAX_PACK_BYTES)
|
||||
{
|
||||
retv = fill_packet(demuxer, ds, dp, dp_offset, si);
|
||||
return 1;
|
||||
}
|
||||
|
||||
if(retv > 0)
|
||||
return retv;
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user