use avccontext->frame_size where appropriate

Originally committed as revision 24183 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Pascal Massimino 2010-07-11 06:40:05 +00:00
parent 53128bc371
commit 42859ddb7b

View File

@ -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;