Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Ross <pross@xvid.org>2014-04-13 08:44:58 +0400
committerMichael Niedermayer <michaelni@gmx.at>2014-04-13 16:48:29 +0400
commitd95c9679f7278fbd954fd8284d29668b77778968 (patch)
treeeb5e1a2266813ebd8826881e855f565d4dae5a05 /libavformat/iff.c
parentb6c1e80bf4a931bd05d799684842fb3503fff93e (diff)
avformat/iff: remove unused code
bits_per_coded_sample and block_align are calculated again at end of if() block Signed-off-by: Peter Ross <pross@xvid.org> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat/iff.c')
-rw-r--r--libavformat/iff.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/libavformat/iff.c b/libavformat/iff.c
index 5fba77d0b8..3190a57e92 100644
--- a/libavformat/iff.c
+++ b/libavformat/iff.c
@@ -372,12 +372,6 @@ static int iff_read_header(AVFormatContext *s)
avpriv_request_sample(s, "compression %d and bit depth %d", iff->maud_compression, iff->maud_bits);
return AVERROR_PATCHWELCOME;
}
-
- st->codec->bits_per_coded_sample =
- av_get_bits_per_sample(st->codec->codec_id);
-
- st->codec->block_align =
- st->codec->bits_per_coded_sample * st->codec->channels / 8;
} else {
switch (iff->svx8_compression) {
case COMP_NONE: