diff options
-rw-r--r-- | libmpcodecs/ad_mpc.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/libmpcodecs/ad_mpc.c b/libmpcodecs/ad_mpc.c index bacea71f70..3593bc1d5f 100644 --- a/libmpcodecs/ad_mpc.c +++ b/libmpcodecs/ad_mpc.c @@ -127,7 +127,9 @@ static int init(sh_audio_t *sh) { mp_msg(MSGT_DECAUDIO, MSGL_FATAL, "Not a valid musepack file.\n"); return 0; } - sh->i_bps = info.average_bitrate / 8; +// this value is nonsense, since it relies on the get_size function. +// use the value from the demuxer instead. +// sh->i_bps = info.average_bitrate / 8; sh->channels = info.channels; sh->samplerate = info.sample_freq; sh->samplesize = 4; |