mirror of
https://gitee.com/openharmony/third_party_ffmpeg
synced 2024-11-24 03:39:45 +00:00
use avccontext->frame_size where appropriate
Originally committed as revision 24183 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
53128bc371
commit
42859ddb7b
@ -145,7 +145,7 @@ static int oggvorbis_encode_frame(AVCodecContext *avccontext,
|
||||
int l;
|
||||
|
||||
if(data) {
|
||||
int samples = OGGVORBIS_FRAME_SIZE;
|
||||
const int samples = avccontext->frame_size;
|
||||
float **buffer ;
|
||||
int c, channels = context->vi.channels;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user