comparison ac3enc.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 4d67eb341a0c
children 932d306bf1dc
comparison
equal deleted inserted replaced
1521:c232b6753012 1522:79dddc5cd990
902 } 902 }
903 903
904 /* output the AC3 frame header */ 904 /* output the AC3 frame header */
905 static void output_frame_header(AC3EncodeContext *s, unsigned char *frame) 905 static void output_frame_header(AC3EncodeContext *s, unsigned char *frame)
906 { 906 {
907 init_put_bits(&s->pb, frame, AC3_MAX_CODED_FRAME_SIZE, NULL, NULL); 907 init_put_bits(&s->pb, frame, AC3_MAX_CODED_FRAME_SIZE);
908 908
909 put_bits(&s->pb, 16, 0x0b77); /* frame header */ 909 put_bits(&s->pb, 16, 0x0b77); /* frame header */
910 put_bits(&s->pb, 16, 0); /* crc1: will be filled later */ 910 put_bits(&s->pb, 16, 0); /* crc1: will be filled later */
911 put_bits(&s->pb, 2, s->fscod); 911 put_bits(&s->pb, 2, s->fscod);
912 put_bits(&s->pb, 6, s->frmsizecod + (s->frame_size - s->frame_size_min)); 912 put_bits(&s->pb, 6, s->frmsizecod + (s->frame_size - s->frame_size_min));