Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
avformatdecoder.cpp: remove duplicate checks
FFmpeg already checks these in avformat_find_stream_info() (called via FindStreamInfo() just prior). FFmpeg should return <0 if these checks fail, which causes the function to return before the removed lines are executed. These checks are copied from libavformat/utils.c and use internal FFmpeg information (if those checks were enabled). This is bad pratice. Since FFmpeg already checks these, remove our copies.
- Loading branch information
1 parent
8f383d8
commit dc8160f
Showing
1 changed file
with
0 additions
and
88 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters