Mercurial > libavcodec.hg
comparison mpegaudio.c @ 1522:79dddc5cd990 libavcodec
removed the obsolete and unused parameters of init_put_bits
| author | alex |
|---|---|
| date | Sun, 12 Oct 2003 21:25:00 +0000 |
| parents | 1e39f273ecd6 |
| children | 932d306bf1dc |
comparison
equal
deleted
inserted
replaced
| 1521:c232b6753012 | 1522:79dddc5cd990 |
|---|---|
| 763 for(i=0;i<s->nb_channels;i++) { | 763 for(i=0;i<s->nb_channels;i++) { |
| 764 psycho_acoustic_model(s, smr[i]); | 764 psycho_acoustic_model(s, smr[i]); |
| 765 } | 765 } |
| 766 compute_bit_allocation(s, smr, bit_alloc, &padding); | 766 compute_bit_allocation(s, smr, bit_alloc, &padding); |
| 767 | 767 |
| 768 init_put_bits(&s->pb, frame, MPA_MAX_CODED_FRAME_SIZE, NULL, NULL); | 768 init_put_bits(&s->pb, frame, MPA_MAX_CODED_FRAME_SIZE); |
| 769 | 769 |
| 770 encode_frame(s, bit_alloc, padding); | 770 encode_frame(s, bit_alloc, padding); |
| 771 | 771 |
| 772 s->nb_samples += MPA_FRAME_SIZE; | 772 s->nb_samples += MPA_FRAME_SIZE; |
| 773 return pbBufPtr(&s->pb) - s->pb.buf; | 773 return pbBufPtr(&s->pb) - s->pb.buf; |
