| Index: media/filters/ffmpeg_demuxer.cc
|
| diff --git a/media/filters/ffmpeg_demuxer.cc b/media/filters/ffmpeg_demuxer.cc
|
| index 155e98079af0126eed877624ae0067b95aa3bf80..7ba327aca1b2f76be0be9e93981c638ca67330bc 100644
|
| --- a/media/filters/ffmpeg_demuxer.cc
|
| +++ b/media/filters/ffmpeg_demuxer.cc
|
| @@ -966,24 +966,6 @@ void FFmpegDemuxer::OnFindStreamInfoDone(const PipelineStatusCB& status_cb,
|
| // If no estimate is found, the stream entry will be kInfiniteDuration().
|
| std::vector<base::TimeDelta> start_time_estimates(format_context->nb_streams,
|
| kInfiniteDuration());
|
| - const AVFormatInternal* internal = format_context->internal;
|
| - if (internal && internal->packet_buffer &&
|
| - format_context->start_time != static_cast<int64>(AV_NOPTS_VALUE)) {
|
| - struct AVPacketList* packet_buffer = internal->packet_buffer;
|
| - while (packet_buffer != internal->packet_buffer_end) {
|
| - DCHECK_LT(static_cast<size_t>(packet_buffer->pkt.stream_index),
|
| - start_time_estimates.size());
|
| - const AVStream* stream =
|
| - format_context->streams[packet_buffer->pkt.stream_index];
|
| - if (packet_buffer->pkt.pts != static_cast<int64>(AV_NOPTS_VALUE)) {
|
| - const base::TimeDelta packet_pts =
|
| - ConvertFromTimeBase(stream->time_base, packet_buffer->pkt.pts);
|
| - if (packet_pts < start_time_estimates[stream->index])
|
| - start_time_estimates[stream->index] = packet_pts;
|
| - }
|
| - packet_buffer = packet_buffer->next;
|
| - }
|
| - }
|
|
|
| AVStream* audio_stream = NULL;
|
| AudioDecoderConfig audio_config;
|
|
|