]> git.sesse.net Git - ffmpeg/commitdiff
Improve wording and spelling of av_log_missing_feature messages.
authorDiego Biurrun <diego@biurrun.de>
Mon, 22 Oct 2012 12:35:13 +0000 (14:35 +0200)
committerDiego Biurrun <diego@biurrun.de>
Tue, 23 Oct 2012 08:28:40 +0000 (10:28 +0200)
libavcodec/aacdec.c
libavcodec/aacsbr.c
libavcodec/eac3dec.c
libavcodec/flacdec.c
libavcodec/flashsv.c
libavcodec/proresdec.c
libavcodec/wmalosslessdec.c
libavcodec/wmavoice.c
libavformat/oggparseskeleton.c
libavformat/spdifdec.c

index 4a6d3905f48fa818b6ff61190a3f52737c585a3d..b7caecb39b15021176e1a7b44eda535437cab9e8 100644 (file)
@@ -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;
         }
 
index 5eca1151ff7c637fd83dc1d7964fcc7b495c0060..b1c4e73ffc5631baa4b1cef0fe3c3ce70a658fce 100644 (file)
@@ -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;
index 626698839db93fe08703aaa931673d02d9d111bc..639e061f5a4944ca21dbc3efab92d28e9b2917cf 100644 (file)
@@ -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
index b39feb679b676a3e7d7fa4a7449ed06af49ed8de..a1fdc357e002d6e454921017dc44d9da96b5b8dc 100644 (file)
@@ -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;
     }
 
index 6052ecdf82b76eedcb65dd263e2bccc72f209bc3..a155befa9e864f6d540a8acaebc578e16e6c3641 100644 (file)
@@ -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;
         }
     }
index 47a5820cf2c9e2ef1490e2f55e81a8383d576619..bbf747fa35060593aff136deb3732b27284e0857 100644 (file)
@@ -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;
index 2d8754f14fda31ad0072f40c0cf8100bd4c92a93..bd930135a27d936100a47c4744ecb937e52cc419 100644 (file)
@@ -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);
index 2ed79a630284c632ead0ba7ec1217bea580c5eaf..63caad2440cfc91aae70247b334f3c7f81d859d8 100644 (file)
@@ -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;
     }
 
index 2cc63d413b4c06e6502b9ec87ca4b5b76855b7f2..2de067d84eb1f0d5fc8139fb2fa314c0840356bc 100644 (file)
@@ -76,7 +76,7 @@ static int skeleton_header(AVFormatContext *s, int idx)
         start_granule = AV_RL64(buf+36);
         if (os->start_granule != OGG_NOGRANULE_VALUE) {
             av_log_missing_feature(s,
-                                   "multiple fisbone for the same stream", 0);
+                                   "Multiple fisbone for the same stream", 0);
             return 1;
         }
         if (target_idx >= 0 && start_granule != OGG_NOGRANULE_VALUE) {
index cecf101009db59624503b2745009d2bb58e28456..6d37c94f7586a4857d6d48996ed8bdccf56061da 100644 (file)
@@ -92,7 +92,7 @@ static int spdif_get_offset_and_codec(AVFormatContext *s,
     default:
         if (s) { /* be silent during a probe */
             av_log(s, AV_LOG_WARNING, "Data type 0x%04x", data_type);
-            av_log_missing_feature(s, " in IEC 61937 is", 1);
+            av_log_missing_feature(s, " in IEC 61937", 1);
         }
         return AVERROR_PATCHWELCOME;
     }
@@ -213,7 +213,7 @@ static int spdif_read_packet(AVFormatContext *s, AVPacket *pkt)
         st->codec->codec_type = AVMEDIA_TYPE_AUDIO;
         st->codec->codec_id = codec_id;
     } else if (codec_id != s->streams[0]->codec->codec_id) {
-        av_log_missing_feature(s, "codec change in IEC 61937", 0);
+        av_log_missing_feature(s, "Codec change in IEC 61937", 0);
         return AVERROR_PATCHWELCOME;
     }