Skip to content

Commit

Permalink
remove vestiges of ffmpeg addition build_index
Browse files Browse the repository at this point in the history
The change to ffmpeg does nothing and is being removed to reduce MythTV's
downstream changes to FFmpeg, hopefully culminating in an unmodified FFmpeg.

avformatdecoder.cpp probably needs more cleanup, but this is the minimal change
required to enable the removal of build_index from FFmpeg.
  • Loading branch information
ulmus-scott authored and bennettpeter committed Jul 1, 2022
1 parent 85432af commit e371a3d
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions mythtv/libs/libmythtv/decoders/avformatdecoder.cpp
Expand Up @@ -1247,11 +1247,7 @@ int AvFormatDecoder::OpenFile(MythMediaBuffer *Buffer, bool novideo,
}

m_dontSyncPositionMap = true;
m_ic->build_index = 1;
}
// we have a position map, disable libavformat's seek index
else
m_ic->build_index = 0;

av_dump_format(m_ic, 0, filename, 0);

Expand Down

0 comments on commit e371a3d

Please sign in to comment.