Descriptionmedia: Fix Opus support, and handle bad timestamps correctly in the Opus wrapper.
- Recent changes to ffmpeg_common broke support for Opus. The check fails
because Opus support is not enabled in FFmpeg, which causes the FFmpeg
codec context to contain an invalid sample format value. Avoid the problem
by skipping a DCHECK for Opus input.
- Add missing return when non-monotonically increasing timestamps are
detected by the OpusAudioDecoder. This fixes a crash when attempting to
seek the Ogg file referenced in crbug.com/168524.
BUG=168524
TEST=Opus audio in WebM containers plays back with the flag
--enable-opus-playback
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=177061
Patch Set 1 #
Total comments: 9
Messages
Total messages: 13 (0 generated)
|