comparison ac3enc.c @ 5942:60016f2e3aa1 libavcodec

sync message with modern ffmpeg bitrate option syntax. note: this message should probably be tweaked; i'm not sure that it's a good idea for lavc to be recommending ffmpeg command line options as it's a general-purpose library.
author rfelker
date Tue, 27 Nov 2007 05:32:04 +0000
parents 389366aa3458
children 29635f7c3d9c
comparison
equal deleted inserted replaced
5941:d030978bcd93 5942:60016f2e3aa1
571 csnroffst = s->csnroffst; 571 csnroffst = s->csnroffst;
572 while (csnroffst >= 0 && 572 while (csnroffst >= 0 &&
573 bit_alloc(s, mask, psd, bap, frame_bits, csnroffst, 0) < 0) 573 bit_alloc(s, mask, psd, bap, frame_bits, csnroffst, 0) < 0)
574 csnroffst -= SNR_INC1; 574 csnroffst -= SNR_INC1;
575 if (csnroffst < 0) { 575 if (csnroffst < 0) {
576 av_log(NULL, AV_LOG_ERROR, "Bit allocation failed, try increasing the bitrate, -ab 384 for example!\n"); 576 av_log(NULL, AV_LOG_ERROR, "Bit allocation failed, try increasing the bitrate, -ab 384k for example!\n");
577 return -1; 577 return -1;
578 } 578 }
579 while ((csnroffst + SNR_INC1) <= 63 && 579 while ((csnroffst + SNR_INC1) <= 63 &&
580 bit_alloc(s, mask, psd, bap1, frame_bits, 580 bit_alloc(s, mask, psd, bap1, frame_bits,
581 csnroffst + SNR_INC1, 0) >= 0) { 581 csnroffst + SNR_INC1, 0) >= 0) {