diff -up chromium-52.0.2716.0/media/ffmpeg/ffmpeg_common.h.no-ffmpeg-internal chromium-52.0.2716.0/media/ffmpeg/ffmpeg_common.h --- chromium-52.0.2716.0/media/ffmpeg/ffmpeg_common.h.no-ffmpeg-internal 2016-04-27 08:45:44.936059306 +0200 +++ chromium-52.0.2716.0/media/ffmpeg/ffmpeg_common.h 2016-04-27 08:45:45.092056179 +0200 @@ -27,7 +27,6 @@ extern "C" { MSVC_PUSH_DISABLE_WARNING(4244); #include <libavcodec/avcodec.h> #include <libavformat/avformat.h> -#include <libavformat/internal.h> #include <libavformat/avio.h> #include <libavutil/avutil.h> #include <libavutil/imgutils.h> diff -up chromium-52.0.2716.0/media/filters/ffmpeg_demuxer.cc.no-ffmpeg-internal chromium-52.0.2716.0/media/filters/ffmpeg_demuxer.cc --- chromium-52.0.2716.0/media/filters/ffmpeg_demuxer.cc.no-ffmpeg-internal 2016-04-27 08:45:45.094056139 +0200 +++ chromium-52.0.2716.0/media/filters/ffmpeg_demuxer.cc 2016-04-27 08:57:15.525328640 +0200 @@ -1093,24 +1093,6 @@ void FFmpegDemuxer::OnFindStreamInfoDone // 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_t>(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_t>(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; - } - } std::unique_ptr<MediaTracks> media_tracks(new MediaTracks()); AVStream* audio_stream = NULL;