Mercurial > mplayer.hg
changeset 25047:e98388418c19
Some more cosmetics
author | reimar |
---|---|
date | Sat, 17 Nov 2007 18:52:42 +0000 |
parents | 6f92f65d00e9 |
children | 280fc0e914f3 |
files | stream/stream_dvd.c |
diffstat | 1 files changed, 3 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- a/stream/stream_dvd.c Sat Nov 17 18:49:33 2007 +0000 +++ b/stream/stream_dvd.c Sat Nov 17 18:52:42 2007 +0000 @@ -95,15 +95,13 @@ memset(buffer, 0, sizeof(buffer)); /* first sector 0, last sector 0xffffffff */ AV_WB32(buffer + 8, 0xffffffff); - if (speed == -1) buffer[0] = 4; /* restore default */ else { - /* <speed> kilobyte */ - AV_WB32(buffer + 12, speed); - AV_WB32(buffer + 20, speed); + /* <speed> kilobyte */ + AV_WB32(buffer + 12, speed); + AV_WB32(buffer + 20, speed); } - /* 1 second */ AV_WB16(buffer + 18, 1000); AV_WB16(buffer + 26, 1000);