Commit 248b1ff2 authored by Michael Niedermayer's avatar Michael Niedermayer

Fix various uses of av_log_missing_feature()

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 8f37a1e8
...@@ -926,7 +926,7 @@ static void read_sbr_extension(AACContext *ac, SpectralBandReplication *sbr, ...@@ -926,7 +926,7 @@ static void read_sbr_extension(AACContext *ac, SpectralBandReplication *sbr,
#if 1 #if 1
*num_bits_left -= ff_ps_read_data(ac->avctx, gb, &sbr->ps, *num_bits_left); *num_bits_left -= ff_ps_read_data(ac->avctx, gb, &sbr->ps, *num_bits_left);
#else #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 skip_bits_long(gb, *num_bits_left); // bs_fill_bits
*num_bits_left = 0; *num_bits_left = 0;
#endif #endif
......
...@@ -1762,7 +1762,7 @@ static int synth_superframe(AVCodecContext *ctx, int *got_frame_ptr) ...@@ -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 * are really WMAPro-in-WMAVoice-superframes. I've never seen those in
* the wild yet. */ * the wild yet. */
if (!get_bits1(gb)) { 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; return AVERROR_PATCHWELCOME;
} }
......
...@@ -175,7 +175,7 @@ static int ogg_replace_stream(AVFormatContext *s, uint32_t serial) ...@@ -175,7 +175,7 @@ static int ogg_replace_stream(AVFormatContext *s, uint32_t serial)
uint8_t *buf; uint8_t *buf;
if (ogg->nstreams != 1) { if (ogg->nstreams != 1) {
av_log_missing_feature(s, "Changing stream parameters in multistream ogg is", 0); av_log_missing_feature(s, "Changing stream parameters in multistream ogg", 0);
return AVERROR_PATCHWELCOME; return AVERROR_PATCHWELCOME;
} }
......
...@@ -92,7 +92,7 @@ static int spdif_get_offset_and_codec(AVFormatContext *s, ...@@ -92,7 +92,7 @@ static int spdif_get_offset_and_codec(AVFormatContext *s,
default: default:
if (s) { /* be silent during a probe */ if (s) { /* be silent during a probe */
av_log(s, AV_LOG_WARNING, "Data type 0x%04x", data_type); 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; return AVERROR_PATCHWELCOME;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment