-
-
Notifications
You must be signed in to change notification settings - Fork 6.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
Use the newly public higher-level libavformat probing function av_probe_input_buffer() for probing when available. This fixes several cases where files could not be played back due to too small a probe buffer. Also, lavf can automatically re-use data read by av_probe_input_buffer() for subsequent buffer reads, allowing us to drop the extra seek to the beginning after the probe when that function is used. Keep the old lower-level method for use when built against old external FFmpeg or when we want to probe for IEC 61937 or DTS specifically (dts-in-wav, ac3-in-wav, AC3/DTS audio discs).
- Loading branch information
Showing
1 changed file
with
63 additions
and
59 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