From 53d38278431987cc7c266e9fe84d481762bea47a Mon Sep 17 00:00:00 2001 From: wm4 Date: Sat, 9 Nov 2013 23:22:15 +0100 Subject: Remove sh_audio->samplesize This member was redundant. sh_audio->sample_format indicates the sample size already. The TV code is a bit strange: the redundant sample size was part of the internal TV interface. Assume it's really redundant and not something else. The PCM decoder ignores the sample size anyway. --- audio/decode/ad_lavc.c | 1 - 1 file changed, 1 deletion(-) (limited to 'audio/decode/ad_lavc.c') diff --git a/audio/decode/ad_lavc.c b/audio/decode/ad_lavc.c index abd47f2fa3..1e63f0c3f2 100644 --- a/audio/decode/ad_lavc.c +++ b/audio/decode/ad_lavc.c @@ -184,7 +184,6 @@ static int setup_format(sh_audio_t *sh_audio, sh_audio->channels = lavc_chmap; sh_audio->samplerate = samplerate; sh_audio->sample_format = sample_format; - sh_audio->samplesize = af_fmt2bits(sh_audio->sample_format) / 8; return 1; } return 0; -- cgit v1.2.3