0
0
mirror of https://github.com/mpv-player/mpv.git synced 2024-09-20 20:03:10 +02:00

ptslen was set to 5 even when no pts==0

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19245 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
nicodvb 2006-07-29 16:21:14 +00:00
parent a08cbbbd3e
commit 22eb7d2acb

View File

@ -49,7 +49,7 @@ int
send_mpeg_pes_packet (unsigned char *data, int len, int id, uint64_t pts,
int type, int my_write (unsigned char *data, int len))
{
int ptslen = 5;
int ptslen = (pts ? 5 : 0);
int n = 0;
int idx, plen;
int hdr;