Browse Source

Revert "Fix channel layout for some stereo flac files."

This reverts commit d2ee3c913d.
tags/n0.11
Michael Niedermayer 14 years ago
parent
commit
003e024bfb
1 changed files with 0 additions and 1 deletions
  1. +0
    -1
      libavcodec/flac.c

+ 0
- 1
libavcodec/flac.c View File

@@ -60,7 +60,6 @@ int ff_flac_decode_frame_header(AVCodecContext *avctx, GetBitContext *gb,
fi->ch_mode = FLAC_CHMODE_INDEPENDENT;
} else if (fi->ch_mode <= FLAC_CHMODE_MID_SIDE) {
fi->channels = 2;
avctx->channel_layout = AV_CH_LAYOUT_STEREO;
} else {
av_log(avctx, AV_LOG_ERROR + log_level_offset,
"invalid channel mode: %d\n", fi->ch_mode);


Loading…
Cancel
Save