aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/vorbis_enc.c
diff options
context:
space:
mode:
authorOded Shimon <ods15@ods15.dyndns.org>2006-10-02 05:55:14 +0000
committerOded Shimon <ods15@ods15.dyndns.org>2006-10-02 05:55:14 +0000
commit3a5fdf92f55b36f424c1bf1186c58db420705645 (patch)
treec6c99b070f25d474bf82207d7364867a98a836e9 /libavcodec/vorbis_enc.c
parent504d195260ab9c089a2779af384d3963c298915a (diff)
downloadffmpeg-3a5fdf92f55b36f424c1bf1186c58db420705645.tar.gz
Original Commit: r3 | ods15 | 2006-09-16 11:49:07 +0300 (Sat, 16 Sep 2006) | 2 lines
cosmetics Originally committed as revision 6414 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/vorbis_enc.c')
-rw-r--r--libavcodec/vorbis_enc.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/libavcodec/vorbis_enc.c b/libavcodec/vorbis_enc.c
index dc6d088646..bacd9305d1 100644
--- a/libavcodec/vorbis_enc.c
+++ b/libavcodec/vorbis_enc.c
@@ -36,7 +36,8 @@ typedef struct {
int buffer_index;
} venc_context_t;
-static int vorbis_encode_init(AVCodecContext * avccontext) {
+static int vorbis_encode_init(AVCodecContext * avccontext)
+{
venc_context_t * venc = avccontext->priv_data;
uint8_t *p;
unsigned int offset, len;
@@ -63,7 +64,7 @@ static int vorbis_encode_init(AVCodecContext * avccontext) {
avccontext->extradata_size = offset;
avccontext->extradata = av_realloc(avccontext->extradata, avccontext->extradata_size);
- avccontext->frame_size = OGGVORBIS_FRAME_SIZE;
+ avccontext->frame_size = VORBIS_FRAME_SIZE;
avccontext->coded_frame = avcodec_alloc_frame();
avccontext->coded_frame->key_frame = 1;