diff options
author | Pascal Massimino <pascal.massimino@gmail.com> | 2010-07-11 06:40:05 +0000 |
---|---|---|
committer | Pascal Massimino <pascal.massimino@gmail.com> | 2010-07-11 06:40:05 +0000 |
commit | 42859ddb7b8e5791ce3052f8df18872e3b50dada (patch) | |
tree | c8030f543d16adbe54a84b2d15c80b58ddaef4a7 | |
parent | 53128bc3712bf57088e57cea840c0497d503043c (diff) | |
download | ffmpeg-42859ddb7b8e5791ce3052f8df18872e3b50dada.tar.gz |
use avccontext->frame_size where appropriate
Originally committed as revision 24183 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r-- | libavcodec/libvorbis.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/libvorbis.c b/libavcodec/libvorbis.c index f6872b2001..892455a374 100644 --- a/libavcodec/libvorbis.c +++ b/libavcodec/libvorbis.c @@ -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; |