mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-08 12:37:37 +00:00
f8be6023e6
Reject Opus packets less than 2.5 ms or more than 120 ms in length, which are invalid by the spec. Also explicitly check for error after opus_packet_get_nb_frames() since this could indicate the subsequent call to opus_packet_get_samples_per_frame() call will segfault because the packet buffer length is invalid. Based on a patch by Tim Terriberry. |
||
---|---|---|
.. | ||
Makefile.in | ||
OggCodecState.cpp | ||
OggCodecState.h | ||
OggDecoder.cpp | ||
OggDecoder.h | ||
OggReader.cpp | ||
OggReader.h |