Index: media/filters/audio_file_reader.cc |
diff --git a/media/filters/audio_file_reader.cc b/media/filters/audio_file_reader.cc |
index 3878f436d7b495e238d5541117093d4183eaefcb..4cd5cd36e96854a0fde4d01a69d65a6047aa9223 100644 |
--- a/media/filters/audio_file_reader.cc |
+++ b/media/filters/audio_file_reader.cc |
@@ -180,12 +180,7 @@ int AudioFileReader::Read( |
break; |
} |
-#ifdef CHROMIUM_NO_AVFRAME_CHANNELS |
- int channels = |
- av_get_channel_layout_nb_channels(av_frame->channel_layout); |
-#else |
int channels = av_frame->channels; |
-#endif |
if (av_frame->sample_rate != sample_rate_ || channels != channels_ || |
av_frame->format != av_sample_format_) { |
DLOG(ERROR) << "Unsupported midstream configuration change!" |