Cleanup leftover code and suppression from M47 ffmpeg roll.
BUG=none TEST=mp3 fast seek still works. Review URL: https://codereview.chromium.org/1362693002 Cr-Commit-Position: refs/heads/master@{#350278}
This commit is contained in:
@ -175,21 +175,9 @@ bool FFmpegGlue::OpenContext() {
|
||||
UMA_HISTOGRAM_SPARSE_SLOWLY("Media.DetectedContainer", container);
|
||||
}
|
||||
|
||||
// Use TOC when available to quickly seek MP3 file.
|
||||
// TODO(dalecurtis): Remove this upon rolling ffmpeg. Commit c43bd08... will
|
||||
// make setting AVFMT_FLAG_FAST_SEEK (which we already do) default usetoc = 1.
|
||||
AVDictionary* options = nullptr;
|
||||
av_dict_set(&options, "usetoc", "1", 0);
|
||||
|
||||
// By passing nullptr for the filename (second parameter) we are telling
|
||||
// FFmpeg to use the AVIO context we setup from the AVFormatContext structure.
|
||||
bool success =
|
||||
avformat_open_input(&format_context_, nullptr, nullptr, &options) == 0;
|
||||
|
||||
if (options)
|
||||
av_dict_free(&options);
|
||||
|
||||
return success;
|
||||
return avformat_open_input(&format_context_, nullptr, nullptr, nullptr) == 0;
|
||||
}
|
||||
|
||||
FFmpegGlue::~FFmpegGlue() {
|
||||
|
@ -3350,7 +3350,6 @@
|
||||
Memcheck:Uninitialized
|
||||
fun:av_packet_unpack_dictionary
|
||||
fun:add_metadata_from_side_data
|
||||
...
|
||||
}
|
||||
{
|
||||
bug_448700_a
|
||||
|
Reference in New Issue
Block a user