mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
For #1685: Cross build RTC with FFmpeg
This commit is contained in:
parent
1c75a270b3
commit
1e9de0e191
267 changed files with 12603 additions and 1451 deletions
|
@ -31,7 +31,6 @@
|
|||
|
||||
#include "opus_celt.h"
|
||||
#include "opustab.h"
|
||||
#include "internal.h"
|
||||
#include "vorbis.h"
|
||||
|
||||
static const uint16_t opus_frame_duration[32] = {
|
||||
|
@ -327,8 +326,6 @@ av_cold int ff_opus_parse_extradata(AVCodecContext *avctx,
|
|||
}
|
||||
|
||||
avctx->delay = AV_RL16(extradata + 10);
|
||||
if (avctx->internal)
|
||||
avctx->internal->skip_samples = avctx->delay;
|
||||
|
||||
channels = avctx->extradata ? extradata[9] : (avctx->channels == 1) ? 1 : 2;
|
||||
if (!channels) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue