aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec
diff options
context:
space:
mode:
authorPascal Massimino <pascal.massimino@gmail.com>2010-07-11 06:40:05 +0000
committerPascal Massimino <pascal.massimino@gmail.com>2010-07-11 06:40:05 +0000
commit42859ddb7b8e5791ce3052f8df18872e3b50dada (patch)
treec8030f543d16adbe54a84b2d15c80b58ddaef4a7 /libavcodec
parent53128bc3712bf57088e57cea840c0497d503043c (diff)
downloadffmpeg-42859ddb7b8e5791ce3052f8df18872e3b50dada.tar.gz
use avccontext->frame_size where appropriate
Originally committed as revision 24183 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec')
-rw-r--r--libavcodec/libvorbis.c2
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;