mirror of
https://github.com/mpv-player/mpv
synced 2024-10-22 08:51:57 +02:00
small syntax fix: muxrate is expressed in units of 400 bits/second, not 50 bytes per second
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22942 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
d2f7526cfc
commit
c675883bb4
@ -499,7 +499,7 @@ static void write_mpeg_ts(unsigned char *b, uint64_t ts, uint8_t mod) {
|
||||
|
||||
static void write_mpeg_rate(int type, unsigned char *b, unsigned int rate)
|
||||
{
|
||||
rate = (rate+49) / 50;
|
||||
rate = ((rate*8)+399) / 400;
|
||||
|
||||
if(type == MUX_MPEG1)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user