Browse Source

cosmetics: remove extra spaces before end-of-statement semi-colons

tags/n0.9
Justin Ruggles 13 years ago
parent
commit
b95fbba705
1 changed files with 6 additions and 6 deletions
  1. +6
    -6
      libavcodec/vorbisdec.c

+ 6
- 6
libavcodec/vorbisdec.c View File

@@ -962,7 +962,7 @@ static int vorbis_parse_id_hdr(vorbis_context *vc)


static av_cold int vorbis_decode_init(AVCodecContext *avccontext) static av_cold int vorbis_decode_init(AVCodecContext *avccontext)
{ {
vorbis_context *vc = avccontext->priv_data ;
vorbis_context *vc = avccontext->priv_data;
uint8_t *headers = avccontext->extradata; uint8_t *headers = avccontext->extradata;
int headers_len = avccontext->extradata_size; int headers_len = avccontext->extradata_size;
uint8_t *header_start[3]; uint8_t *header_start[3];
@@ -1026,7 +1026,7 @@ static av_cold int vorbis_decode_init(AVCodecContext *avccontext)
avccontext->sample_rate = vc->audio_samplerate; avccontext->sample_rate = vc->audio_samplerate;
avccontext->frame_size = FFMIN(vc->blocksize[0], vc->blocksize[1]) >> 2; avccontext->frame_size = FFMIN(vc->blocksize[0], vc->blocksize[1]) >> 2;


return 0 ;
return 0;
} }


// Decode audiopackets ------------------------------------------------- // Decode audiopackets -------------------------------------------------
@@ -1604,7 +1604,7 @@ static int vorbis_decode_frame(AVCodecContext *avccontext,
{ {
const uint8_t *buf = avpkt->data; const uint8_t *buf = avpkt->data;
int buf_size = avpkt->size; int buf_size = avpkt->size;
vorbis_context *vc = avccontext->priv_data ;
vorbis_context *vc = avccontext->priv_data;
GetBitContext *gb = &(vc->gb); GetBitContext *gb = &(vc->gb);
const float *channel_ptrs[255]; const float *channel_ptrs[255];
int i, len, out_size; int i, len, out_size;
@@ -1626,7 +1626,7 @@ static int vorbis_decode_frame(AVCodecContext *avccontext,
if (!vc->first_frame) { if (!vc->first_frame) {
vc->first_frame = 1; vc->first_frame = 1;
*data_size = 0; *data_size = 0;
return buf_size ;
return buf_size;
} }


av_dlog(NULL, "parsed %d bytes %d bits, returned %d samples (*ch*bits) \n", av_dlog(NULL, "parsed %d bytes %d bits, returned %d samples (*ch*bits) \n",
@@ -1656,7 +1656,7 @@ static int vorbis_decode_frame(AVCodecContext *avccontext,


*data_size = out_size; *data_size = out_size;


return buf_size ;
return buf_size;
} }


// Close decoder // Close decoder
@@ -1667,7 +1667,7 @@ static av_cold int vorbis_decode_close(AVCodecContext *avccontext)


vorbis_free(vc); vorbis_free(vc);


return 0 ;
return 0;
} }


AVCodec ff_vorbis_decoder = { AVCodec ff_vorbis_decoder = {


Loading…
Cancel
Save