diff options
author | Diego Biurrun <diego@biurrun.de> | 2012-10-22 14:35:13 +0200 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2012-10-23 10:28:40 +0200 |
commit | 8f4c414df6b81c3ee3f12de1504ae7ccb5f8053a (patch) | |
tree | b07a452183b04b6f784008c8a25668c147851441 /libavcodec | |
parent | 00ed7f5958d026cb4786919f4b3e46f14fe608bf (diff) | |
download | ffmpeg-8f4c414df6b81c3ee3f12de1504ae7ccb5f8053a.tar.gz |
Improve wording and spelling of av_log_missing_feature messages.
Diffstat (limited to 'libavcodec')
-rw-r--r-- | libavcodec/aacdec.c | 4 | ||||
-rw-r--r-- | libavcodec/aacsbr.c | 4 | ||||
-rw-r--r-- | libavcodec/eac3dec.c | 2 | ||||
-rw-r--r-- | libavcodec/flacdec.c | 2 | ||||
-rw-r--r-- | libavcodec/flashsv.c | 2 | ||||
-rw-r--r-- | libavcodec/proresdec.c | 2 | ||||
-rw-r--r-- | libavcodec/wmalosslessdec.c | 4 | ||||
-rw-r--r-- | libavcodec/wmavoice.c | 2 |
8 files changed, 11 insertions, 11 deletions
diff --git a/libavcodec/aacdec.c b/libavcodec/aacdec.c index 4a6d3905f4..b7caecb39b 100644 --- a/libavcodec/aacdec.c +++ b/libavcodec/aacdec.c @@ -2663,7 +2663,7 @@ static int read_stream_mux_config(struct LATMContext *latmctx, // numPrograms if (get_bits(gb, 4)) { // numPrograms av_log_missing_feature(latmctx->aac_ctx.avctx, - "multiple programs", 1); + "Multiple programs", 1); return AVERROR_PATCHWELCOME; } @@ -2672,7 +2672,7 @@ static int read_stream_mux_config(struct LATMContext *latmctx, // for each layer (which there is only on in DVB) if (get_bits(gb, 3)) { // numLayer av_log_missing_feature(latmctx->aac_ctx.avctx, - "multiple layers", 1); + "Multiple layers", 1); return AVERROR_PATCHWELCOME; } diff --git a/libavcodec/aacsbr.c b/libavcodec/aacsbr.c index 5eca1151ff..b1c4e73ffc 100644 --- a/libavcodec/aacsbr.c +++ b/libavcodec/aacsbr.c @@ -922,14 +922,14 @@ static void read_sbr_extension(AACContext *ac, SpectralBandReplication *sbr, #if 1 *num_bits_left -= ff_ps_read_data(ac->avctx, gb, &sbr->ps, *num_bits_left); #else - av_log_missing_feature(ac->avctx, "Parametric Stereo is", 0); + av_log_missing_feature(ac->avctx, "Parametric Stereo", 0); skip_bits_long(gb, *num_bits_left); // bs_fill_bits *num_bits_left = 0; #endif } break; default: - av_log_missing_feature(ac->avctx, "Reserved SBR extensions are", 1); + av_log_missing_feature(ac->avctx, "Reserved SBR extensions", 1); skip_bits_long(gb, *num_bits_left); // bs_fill_bits *num_bits_left = 0; break; diff --git a/libavcodec/eac3dec.c b/libavcodec/eac3dec.c index 626698839d..639e061f5a 100644 --- a/libavcodec/eac3dec.c +++ b/libavcodec/eac3dec.c @@ -321,7 +321,7 @@ int ff_eac3_parse_header(AC3DecodeContext *s) rates in bit allocation. The best assumption would be that it is handled like AC-3 DolbyNet, but we cannot be sure until we have a sample which utilizes this feature. */ - av_log_missing_feature(s->avctx, "Reduced sampling rates", 1); + av_log_missing_feature(s->avctx, "Reduced sampling rate", 1); return AVERROR_PATCHWELCOME; } skip_bits(gbc, 5); // skip bitstream id diff --git a/libavcodec/flacdec.c b/libavcodec/flacdec.c index b39feb679b..a1fdc357e0 100644 --- a/libavcodec/flacdec.c +++ b/libavcodec/flacdec.c @@ -371,7 +371,7 @@ static inline int decode_subframe(FLACContext *s, int channel) bps -= wasted; } if (bps > 32) { - av_log_missing_feature(s->avctx, "decorrelated bit depth > 32", 0); + av_log_missing_feature(s->avctx, "Decorrelated bit depth > 32", 0); return AVERROR_PATCHWELCOME; } diff --git a/libavcodec/flashsv.c b/libavcodec/flashsv.c index 6052ecdf82..a155befa9e 100644 --- a/libavcodec/flashsv.c +++ b/libavcodec/flashsv.c @@ -264,7 +264,7 @@ static int flashsv_decode_frame(AVCodecContext *avctx, void *data, return AVERROR_PATCHWELCOME; } if (get_bits1(&gb)) { - av_log_missing_feature(avctx, "custom palette", 1); + av_log_missing_feature(avctx, "Custom palette", 1); return AVERROR_PATCHWELCOME; } } diff --git a/libavcodec/proresdec.c b/libavcodec/proresdec.c index 47a5820cf2..bbf747fa35 100644 --- a/libavcodec/proresdec.c +++ b/libavcodec/proresdec.c @@ -171,7 +171,7 @@ static int decode_frame_header(ProresContext *ctx, const uint8_t *buf, ctx->alpha_info = buf[17] & 0xf; if (ctx->alpha_info) - av_log_missing_feature(avctx, "alpha channel", 0); + av_log_missing_feature(avctx, "Alpha channel", 0); ctx->qmat_changed = 0; ptr = buf + 20; diff --git a/libavcodec/wmalosslessdec.c b/libavcodec/wmalosslessdec.c index 2d8754f14f..bd930135a2 100644 --- a/libavcodec/wmalosslessdec.c +++ b/libavcodec/wmalosslessdec.c @@ -189,7 +189,7 @@ static av_cold int decode_init(AVCodecContext *avctx) avctx->sample_fmt = AV_SAMPLE_FMT_S16P; else if (s->bits_per_sample == 24) { avctx->sample_fmt = AV_SAMPLE_FMT_S32P; - av_log_missing_feature(avctx, "bit-depth higher than 16", 0); + av_log_missing_feature(avctx, "Bit-depth higher than 16", 0); return AVERROR_PATCHWELCOME; } else { av_log(avctx, AV_LOG_ERROR, "Unknown bit-depth: %d\n", @@ -885,7 +885,7 @@ static int decode_subframe(WmallDecodeCtx *s) s->do_arith_coding = get_bits1(&s->gb); if (s->do_arith_coding) { - av_log_missing_feature(s->avctx, "arithmetic coding", 1); + av_log_missing_feature(s->avctx, "Arithmetic coding", 1); return AVERROR_PATCHWELCOME; } s->do_ac_filter = get_bits1(&s->gb); diff --git a/libavcodec/wmavoice.c b/libavcodec/wmavoice.c index 2ed79a6302..63caad2440 100644 --- a/libavcodec/wmavoice.c +++ b/libavcodec/wmavoice.c @@ -1762,7 +1762,7 @@ static int synth_superframe(AVCodecContext *ctx, int *got_frame_ptr) * are really WMAPro-in-WMAVoice-superframes. I've never seen those in * the wild yet. */ if (!get_bits1(gb)) { - av_log_missing_feature(ctx, "WMAPro-in-WMAVoice support", 1); + av_log_missing_feature(ctx, "WMAPro-in-WMAVoice", 1); return AVERROR_PATCHWELCOME; } |