[MPlayer-dev-eng] [PATCH]SPDIF pass through decoder

Carl Eugen Hoyos cehoyos at ag.or.at
Thu Nov 3 19:53:33 CET 2011


Naoya OYAMA <naoya.oyama <at> gmail.com> writes:

> +    if (bps == 0 && srate == 0) { // last resort
> +        srate = 48000;    //fake value
> +        bps   = 768000/8; //fake value

Shouldn't this be
if (!bps)
    bps = 768000/8;
if (!srate)
    srate = 48000;

?

Applied the other hunks, thank you, Carl Eugen



More information about the MPlayer-dev-eng mailing list