Commit 42859ddb authored by Pascal Massimino's avatar Pascal Massimino

use avccontext->frame_size where appropriate

Originally committed as revision 24183 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent 53128bc3
...@@ -145,7 +145,7 @@ static int oggvorbis_encode_frame(AVCodecContext *avccontext, ...@@ -145,7 +145,7 @@ static int oggvorbis_encode_frame(AVCodecContext *avccontext,
int l; int l;
if(data) { if(data) {
int samples = OGGVORBIS_FRAME_SIZE; const int samples = avccontext->frame_size;
float **buffer ; float **buffer ;
int c, channels = context->vi.channels; int c, channels = context->vi.channels;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment