# HG changeset patch # User ods15 # Date 1159768514 0 # Node ID 500d86b6854221bad88a43a3329adbead194300d # Parent 5551768b5a4f731d70eeeed3fa9083e36855594e Original Commit: r3 | ods15 | 2006-09-16 11:49:07 +0300 (Sat, 16 Sep 2006) | 2 lines cosmetics diff -r 5551768b5a4f -r 500d86b68542 vorbis_enc.c --- a/vorbis_enc.c Mon Oct 02 05:54:55 2006 +0000 +++ b/vorbis_enc.c Mon Oct 02 05:55:14 2006 +0000 @@ -36,7 +36,8 @@ 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 @@ 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;