mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-01-18 05:11:09 +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