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
|
@ -543,7 +543,7 @@ static int opus_encode_frame(AVCodecContext *avctx, AVPacket *avpkt,
|
|||
ff_bufqueue_add(avctx, &s->bufqueue, av_frame_clone(frame));
|
||||
} else {
|
||||
ff_opus_psy_signal_eof(&s->psyctx);
|
||||
if (!s->afq.remaining_samples || !avctx->frame_number)
|
||||
if (!s->afq.remaining_samples)
|
||||
return 0; /* We've been flushed and there's nothing left to encode */
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue