[SCM] libav/experimental: use avccontext->frame_size where appropriate
siretart at users.alioth.debian.org
siretart at users.alioth.debian.org
Sun Jun 30 17:11:01 UTC 2013
The following commit has been merged in the experimental branch:
commit 42859ddb7b8e5791ce3052f8df18872e3b50dada
Author: Pascal Massimino <pascal.massimino at gmail.com>
Date: Sun Jul 11 06:40:05 2010 +0000
use avccontext->frame_size where appropriate
Originally committed as revision 24183 to svn://svn.ffmpeg.org/ffmpeg/trunk
diff --git a/libavcodec/libvorbis.c b/libavcodec/libvorbis.c
index f6872b2..892455a 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;
--
Libav/FFmpeg packaging
More information about the pkg-multimedia-commits
mailing list