---
libavcodec/aac_adtstoasc_bsf.c | 4 ++--
libavcodec/aacdec.c | 18 +++++++++---------
libavcodec/aacsbr.c | 4 ++--
libavcodec/ac3dec.c | 2 +-
libavcodec/alsdec.c | 2 +-
libavcodec/amrnbdec.c | 4 ++--
libavcodec/amrwbdec.c | 4 ++--
libavcodec/cavsdec.c | 2 +-
libavcodec/eac3dec.c | 8 ++++----
libavcodec/flacdec.c | 2 +-
libavcodec/flashsv.c | 6 +++---
libavcodec/libopencore-amr.c | 2 +-
libavcodec/mimic.c | 2 +-
libavcodec/mjpegdec.c | 8 ++++----
libavcodec/mpc8.c | 2 +-
libavcodec/proresdec.c | 2 +-
libavcodec/rv10.c | 2 +-
libavcodec/smc.c | 2 +-
libavcodec/takdec.c | 2 +-
libavcodec/truemotion2.c | 2 +-
libavcodec/tta.c | 2 +-
libavcodec/vc1.c | 2 +-
libavcodec/vp6.c | 2 +-
libavcodec/vp8.c | 2 +-
libavcodec/wmalosslessdec.c | 6 +++---
libavcodec/wmaprodec.c | 2 +-
libavcodec/wmavoice.c | 2 +-
libavformat/mpegts.c | 2 +-
libavformat/oggparseskeleton.c | 5 +++--
libavformat/rtpdec_latm.c | 4 ++--
libavformat/rtpdec_qt.c | 8 ++++----
libavformat/spdifdec.c | 4 ++--
32 files changed, 61 insertions(+), 60 deletions(-)
diff --git a/libavcodec/aac_adtstoasc_bsf.c b/libavcodec/aac_adtstoasc_bsf.c
index df9a395..b4c52a2 100644
--- a/libavcodec/aac_adtstoasc_bsf.c
+++ b/libavcodec/aac_adtstoasc_bsf.c
@@ -61,7 +61,7 @@ static int aac_adtstoasc_filter(AVBitStreamFilterContext
*bsfc,
}
if (!hdr.crc_absent && hdr.num_aac_frames > 1) {
- av_log_missing_feature(avctx, "Multiple RDBs per frame with CRC", 0);
+ avpriv_log_missing_feature(avctx, "Multiple RDBs per frame with CRC",
0);
return AVERROR_PATCHWELCOME;
}
@@ -74,7 +74,7 @@ static int aac_adtstoasc_filter(AVBitStreamFilterContext
*bsfc,
if (!hdr.chan_config) {
init_get_bits(&gb, buf, buf_size * 8);
if (get_bits(&gb, 3) != 5) {
- av_log_missing_feature(avctx, "PCE based channel
configuration, where the PCE is not the first syntax element", 0);
+ avpriv_log_missing_feature(avctx, "PCE based channel
configuration, where the PCE is not the first syntax element", 0);
return AVERROR_PATCHWELCOME;
}
init_put_bits(&pb, pce_data, MAX_PCE_SIZE);
diff --git a/libavcodec/aacdec.c b/libavcodec/aacdec.c
index e044f9a..1c4b41d 100644
--- a/libavcodec/aacdec.c
+++ b/libavcodec/aacdec.c
@@ -669,7 +669,7 @@ static int decode_ga_specific_config(AACContext *ac,
AVCodecContext *avctx,
int tags = 0;
if (get_bits1(gb)) { // frameLengthFlag
- av_log_missing_feature(avctx, "960/120 MDCT window", 1);
+ avpriv_log_missing_feature(avctx, "960/120 MDCT window", 1);
return AVERROR_PATCHWELCOME;
}
@@ -1659,7 +1659,7 @@ static int decode_ics(AACContext *ac,
SingleChannelElement *sce,
if ((tns->present = get_bits1(gb)) && decode_tns(ac, tns, gb, ics))
return -1;
if (get_bits1(gb)) {
- av_log_missing_feature(ac->avctx, "SSR", 1);
+ avpriv_log_missing_feature(ac->avctx, "SSR", 1);
return AVERROR_PATCHWELCOME;
}
}
@@ -2346,7 +2346,7 @@ static int parse_adts_frame_header(AACContext *ac,
GetBitContext *gb)
size = avpriv_aac_parse_header(gb, &hdr_info);
if (size > 0) {
if (hdr_info.num_aac_frames != 1) {
- av_log_missing_feature(ac->avctx, "More than one AAC RDB per ADTS
frame", 0);
+ avpriv_log_missing_feature(ac->avctx, "More than one AAC RDB per
ADTS frame", 0);
return AVERROR_PATCHWELCOME;
}
push_output_configuration(ac);
@@ -2618,8 +2618,8 @@ static int latm_decode_audio_specific_config(struct
LATMContext *latmctx,
asclen = get_bits_left(gb);
if (config_start_bit % 8) {
- av_log_missing_feature(latmctx->aac_ctx.avctx,
- "Non-byte-aligned audio-specific config", 1);
+ avpriv_log_missing_feature(latmctx->aac_ctx.avctx,
+ "Non-byte-aligned audio-specific config",
1);
return AVERROR_PATCHWELCOME;
}
if (asclen <= 0)
@@ -2673,8 +2673,8 @@ static int read_stream_mux_config(struct LATMContext
*latmctx,
skip_bits(gb, 6); // numSubFrames
// numPrograms
if (get_bits(gb, 4)) { // numPrograms
- av_log_missing_feature(latmctx->aac_ctx.avctx,
- "Multiple programs", 1);
+ avpriv_log_missing_feature(latmctx->aac_ctx.avctx,
+ "Multiple programs", 1);
return AVERROR_PATCHWELCOME;
}
@@ -2682,8 +2682,8 @@ 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);
+ avpriv_log_missing_feature(latmctx->aac_ctx.avctx,
+ "Multiple layers", 1);
return AVERROR_PATCHWELCOME;
}
diff --git a/libavcodec/aacsbr.c b/libavcodec/aacsbr.c
index 0d0e23d..55d804a 100644
--- a/libavcodec/aacsbr.c
+++ b/libavcodec/aacsbr.c
@@ -920,14 +920,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", 0);
+ avpriv_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", 1);
+ avpriv_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/ac3dec.c b/libavcodec/ac3dec.c
index f8f0584..1a8c6d9 100644
--- a/libavcodec/ac3dec.c
+++ b/libavcodec/ac3dec.c
@@ -874,7 +874,7 @@ static int decode_audio_block(AC3DecodeContext *s, int blk)
/* check for enhanced coupling */
if (s->eac3 && get_bits1(gbc)) {
/* TODO: parse enhanced coupling strategy info */
- av_log_missing_feature(s->avctx, "Enhanced coupling", 1);
+ avpriv_log_missing_feature(s->avctx, "Enhanced coupling", 1);
return AVERROR_PATCHWELCOME;
}
diff --git a/libavcodec/alsdec.c b/libavcodec/alsdec.c
index 622522a..970a167 100644
--- a/libavcodec/alsdec.c
+++ b/libavcodec/alsdec.c
@@ -422,7 +422,7 @@ static int check_specific_config(ALSDecContext *ctx)
#define MISSING_ERR(cond, str, errval) \
{ \
if (cond) { \
- av_log_missing_feature(ctx->avctx, str, 0); \
+ avpriv_log_missing_feature(ctx->avctx, str, 0); \
error = errval; \
} \
}
diff --git a/libavcodec/amrnbdec.c b/libavcodec/amrnbdec.c
index 237d47b..b8f8fd6 100644
--- a/libavcodec/amrnbdec.c
+++ b/libavcodec/amrnbdec.c
@@ -156,7 +156,7 @@ static av_cold int amrnb_decode_init(AVCodecContext *avctx)
int i;
if (avctx->channels > 1) {
- av_log_missing_feature(avctx, "multi-channel AMR", 0);
+ avpriv_log_missing_feature(avctx, "multi-channel AMR", 0);
return AVERROR_PATCHWELCOME;
}
@@ -957,7 +957,7 @@ static int amrnb_decode_frame(AVCodecContext *avctx, void
*data,
return AVERROR_INVALIDDATA;
}
if (p->cur_frame_mode == MODE_DTX) {
- av_log_missing_feature(avctx, "dtx mode", 1);
+ avpriv_log_missing_feature(avctx, "dtx mode", 1);
return AVERROR_PATCHWELCOME;
}
diff --git a/libavcodec/amrwbdec.c b/libavcodec/amrwbdec.c
index cf137e0..6a3fb63 100644
--- a/libavcodec/amrwbdec.c
+++ b/libavcodec/amrwbdec.c
@@ -92,7 +92,7 @@ static av_cold int amrwb_decode_init(AVCodecContext *avctx)
int i;
if (avctx->channels > 1) {
- av_log_missing_feature(avctx, "multi-channel AMR", 0);
+ avpriv_log_missing_feature(avctx, "multi-channel AMR", 0);
return AVERROR_PATCHWELCOME;
}
@@ -1117,7 +1117,7 @@ static int amrwb_decode_frame(AVCodecContext *avctx, void
*data,
av_log(avctx, AV_LOG_ERROR, "Encountered a bad or corrupted frame\n");
if (ctx->fr_cur_mode == MODE_SID) { /* Comfort noise frame */
- av_log_missing_feature(avctx, "SID mode", 1);
+ avpriv_log_missing_feature(avctx, "SID mode", 1);
return AVERROR_PATCHWELCOME;
}
diff --git a/libavcodec/cavsdec.c b/libavcodec/cavsdec.c
index b841f48..34b4f11 100644
--- a/libavcodec/cavsdec.c
+++ b/libavcodec/cavsdec.c
@@ -1082,7 +1082,7 @@ static int decode_seq_header(AVSContext *h)
width = get_bits(&h->gb, 14);
height = get_bits(&h->gb, 14);
if ((h->width || h->height) && (h->width != width || h->height != height))
{
- av_log_missing_feature(h->avctx, "Width/height changing in CAVS", 0);
+ avpriv_log_missing_feature(h->avctx, "Width/height changing in CAVS",
0);
return AVERROR_PATCHWELCOME;
}
h->width = width;
diff --git a/libavcodec/eac3dec.c b/libavcodec/eac3dec.c
index 3a80cb1..4b54e78 100644
--- a/libavcodec/eac3dec.c
+++ b/libavcodec/eac3dec.c
@@ -300,7 +300,7 @@ int ff_eac3_parse_header(AC3DecodeContext *s)
application can select from. each independent stream can also contain
dependent streams which are used to add or replace channels. */
if (s->frame_type == EAC3_FRAME_TYPE_DEPENDENT) {
- av_log_missing_feature(s->avctx, "Dependent substream decoding", 1);
+ avpriv_log_missing_feature(s->avctx, "Dependent substream decoding",
1);
return AAC_AC3_PARSE_ERROR_FRAME_TYPE;
} else if (s->frame_type == EAC3_FRAME_TYPE_RESERVED) {
av_log(s->avctx, AV_LOG_ERROR, "Reserved frame type\n");
@@ -312,7 +312,7 @@ int ff_eac3_parse_header(AC3DecodeContext *s)
associated to an independent stream have matching substream id's. */
if (s->substreamid) {
/* only decode substream with id=0. skip any additional substreams. */
- av_log_missing_feature(s->avctx, "Additional substreams", 1);
+ avpriv_log_missing_feature(s->avctx, "Additional substreams", 1);
return AAC_AC3_PARSE_ERROR_FRAME_TYPE;
}
@@ -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 rate", 1);
+ avpriv_log_missing_feature(s->avctx, "Reduced sampling rate", 1);
return AVERROR_PATCHWELCOME;
}
skip_bits(gbc, 5); // skip bitstream id
@@ -593,7 +593,7 @@ int ff_eac3_parse_header(AC3DecodeContext *s)
It is likely the offset of each block within the frame. */
int block_start_bits = (s->num_blocks-1) * (4 +
av_log2(s->frame_size-2));
skip_bits_long(gbc, block_start_bits);
- av_log_missing_feature(s->avctx, "Block start info", 1);
+ avpriv_log_missing_feature(s->avctx, "Block start info", 1);
}
/* syntax state initialization */
diff --git a/libavcodec/flacdec.c b/libavcodec/flacdec.c
index 6bb6be3..c38951d 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);
+ avpriv_log_missing_feature(s->avctx, "Decorrelated bit depth > 32", 0);
return AVERROR_PATCHWELCOME;
}
diff --git a/libavcodec/flashsv.c b/libavcodec/flashsv.c
index 3c5a35c..8932068 100644
--- a/libavcodec/flashsv.c
+++ b/libavcodec/flashsv.c
@@ -258,11 +258,11 @@ static int flashsv_decode_frame(AVCodecContext *avctx,
void *data,
if (s->ver == 2) {
skip_bits(&gb, 6);
if (get_bits1(&gb)) {
- av_log_missing_feature(avctx, "iframe", 1);
+ avpriv_log_missing_feature(avctx, "iframe", 1);
return AVERROR_PATCHWELCOME;
}
if (get_bits1(&gb)) {
- av_log_missing_feature(avctx, "Custom palette", 1);
+ avpriv_log_missing_feature(avctx, "Custom palette", 1);
return AVERROR_PATCHWELCOME;
}
}
@@ -398,7 +398,7 @@ static int flashsv_decode_frame(AVCodecContext *avctx, void
*data,
int row = get_bits(&gb, 8);
av_log(avctx, AV_LOG_DEBUG, "%dx%d zlibprime_curr
%dx%d\n", i, j, col, row);
size -= 2;
- av_log_missing_feature(avctx, "zlibprime_curr", 1);
+ avpriv_log_missing_feature(avctx, "zlibprime_curr", 1);
return AVERROR_PATCHWELCOME;
}
if (!s->blocks && (s->zlibprime_curr || s->zlibprime_prev)) {
diff --git a/libavcodec/libopencore-amr.c b/libavcodec/libopencore-amr.c
index d3bd743..233f01e 100644
--- a/libavcodec/libopencore-amr.c
+++ b/libavcodec/libopencore-amr.c
@@ -34,7 +34,7 @@ static int amr_decode_fix_avctx(AVCodecContext *avctx)
avctx->sample_rate = 8000 * is_amr_wb;
if (avctx->channels > 1) {
- av_log_missing_feature(avctx, "multi-channel AMR", 0);
+ avpriv_log_missing_feature(avctx, "multi-channel AMR", 0);
return AVERROR_PATCHWELCOME;
}
diff --git a/libavcodec/mimic.c b/libavcodec/mimic.c
index 8ab1c9e..a2977c2 100644
--- a/libavcodec/mimic.c
+++ b/libavcodec/mimic.c
@@ -353,7 +353,7 @@ static int mimic_decode_frame(AVCodecContext *avctx, void
*data,
ctx->num_hblocks[i] = width >> (3 + !!i);
}
} else if (width != ctx->avctx->width || height != ctx->avctx->height) {
- av_log_missing_feature(avctx, "resolution changing", 1);
+ avpriv_log_missing_feature(avctx, "resolution changing", 1);
return AVERROR_PATCHWELCOME;
}
diff --git a/libavcodec/mjpegdec.c b/libavcodec/mjpegdec.c
index 470529f..e06a364 100644
--- a/libavcodec/mjpegdec.c
+++ b/libavcodec/mjpegdec.c
@@ -243,9 +243,9 @@ int ff_mjpeg_decode_sof(MJpegDecodeContext *s)
nb_components > MAX_COMPONENTS)
return -1;
if (s->ls && !(s->bits <= 8 || nb_components == 1)) {
- av_log_missing_feature(s->avctx,
- "For JPEG-LS anything except <= 8
bits/component"
- " or 16-bit gray", 0);
+ avpriv_log_missing_feature(s->avctx,
+ "For JPEG-LS anything except <= 8
bits/component"
+ " or 16-bit gray", 0);
return AVERROR_PATCHWELCOME;
}
s->nb_components = nb_components;
@@ -270,7 +270,7 @@ int ff_mjpeg_decode_sof(MJpegDecodeContext *s)
}
if (s->ls && (s->h_max > 1 || s->v_max > 1)) {
- av_log_missing_feature(s->avctx, "Subsampling in JPEG-LS", 0);
+ avpriv_log_missing_feature(s->avctx, "Subsampling in JPEG-LS", 0);
return AVERROR_PATCHWELCOME;
}
diff --git a/libavcodec/mpc8.c b/libavcodec/mpc8.c
index 1b32c4b..4a8272d 100644
--- a/libavcodec/mpc8.c
+++ b/libavcodec/mpc8.c
@@ -130,7 +130,7 @@ static av_cold int mpc8_decode_init(AVCodecContext * avctx)
c->maxbands = get_bits(&gb, 5) + 1;
channels = get_bits(&gb, 4) + 1;
if (channels > 2) {
- av_log_missing_feature(avctx, "Multichannel MPC SV8", 1);
+ avpriv_log_missing_feature(avctx, "Multichannel MPC SV8", 1);
return AVERROR_PATCHWELCOME;
}
c->MSS = get_bits1(&gb);
diff --git a/libavcodec/proresdec.c b/libavcodec/proresdec.c
index f4c6b6d..4ad63de 100644
--- a/libavcodec/proresdec.c
+++ b/libavcodec/proresdec.c
@@ -175,7 +175,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);
+ avpriv_log_missing_feature(avctx, "Alpha channel", 0);
ctx->qmat_changed = 0;
ptr = buf + 20;
diff --git a/libavcodec/rv10.c b/libavcodec/rv10.c
index 29e41dc..75c4159 100644
--- a/libavcodec/rv10.c
+++ b/libavcodec/rv10.c
@@ -458,7 +458,7 @@ static av_cold int rv10_decode_init(AVCodecContext *avctx)
break;
default:
av_log(s->avctx, AV_LOG_ERROR, "unknown header %X\n", rv->sub_id);
- av_log_missing_feature(avctx, "RV1/2 version", 1);
+ avpriv_log_missing_feature(avctx, "RV1/2 version", 1);
return AVERROR_PATCHWELCOME;
}
diff --git a/libavcodec/smc.c b/libavcodec/smc.c
index 1834003..40d2d34 100644
--- a/libavcodec/smc.c
+++ b/libavcodec/smc.c
@@ -401,7 +401,7 @@ static void smc_decode_stream(SmcContext *s)
break;
case 0xF0:
- av_log_missing_feature(s->avctx, "0xF0 opcode", 1);
+ avpriv_log_missing_feature(s->avctx, "0xF0 opcode", 1);
break;
}
}
diff --git a/libavcodec/takdec.c b/libavcodec/takdec.c
index 48a424e..5f7c504 100644
--- a/libavcodec/takdec.c
+++ b/libavcodec/takdec.c
@@ -685,7 +685,7 @@ static int tak_decode_frame(AVCodecContext *avctx, void
*data,
return ret;
if (s->ti.flags & TAK_FRAME_FLAG_HAS_METADATA) {
- av_log_missing_feature(avctx, "frame metadata", 1);
+ avpriv_log_missing_feature(avctx, "frame metadata", 1);
return AVERROR_PATCHWELCOME;
}
diff --git a/libavcodec/truemotion2.c b/libavcodec/truemotion2.c
index d517906..053fdc7 100644
--- a/libavcodec/truemotion2.c
+++ b/libavcodec/truemotion2.c
@@ -225,7 +225,7 @@ static inline int tm2_read_header(TM2Context *ctx, const
uint8_t *buf)
switch (magic) {
case TM2_OLD_HEADER_MAGIC:
- av_log_missing_feature(ctx->avctx, "TM2 old header", 1);
+ avpriv_log_missing_feature(ctx->avctx, "TM2 old header", 1);
return 0;
case TM2_NEW_HEADER_MAGIC:
return 0;
diff --git a/libavcodec/tta.c b/libavcodec/tta.c
index e230faf..c69abb5 100644
--- a/libavcodec/tta.c
+++ b/libavcodec/tta.c
@@ -222,7 +222,7 @@ static av_cold int tta_decode_init(AVCodecContext * avctx)
return -1;
}
if (s->format == FORMAT_ENCRYPTED) {
- av_log_missing_feature(s->avctx, "Encrypted TTA", 0);
+ avpriv_log_missing_feature(s->avctx, "Encrypted TTA", 0);
return AVERROR_PATCHWELCOME;
}
avctx->channels = s->channels = get_bits(&s->gb, 16);
diff --git a/libavcodec/vc1.c b/libavcodec/vc1.c
index b467e46..5813433 100644
--- a/libavcodec/vc1.c
+++ b/libavcodec/vc1.c
@@ -885,7 +885,7 @@ int ff_vc1_parse_frame_header_adv(VC1Context *v,
GetBitContext* gb)
}
}
if (v->panscanflag) {
- av_log_missing_feature(v->s.avctx, "Pan-scan", 0);
+ avpriv_log_missing_feature(v->s.avctx, "Pan-scan", 0);
//...
}
if (v->p_frame_skipped) {
diff --git a/libavcodec/vp6.c b/libavcodec/vp6.c
index b824e3b..6c89c44 100644
--- a/libavcodec/vp6.c
+++ b/libavcodec/vp6.c
@@ -63,7 +63,7 @@ static int vp6_parse_header(VP56Context *s, const uint8_t
*buf, int buf_size,
return AVERROR_INVALIDDATA;
s->filter_header = buf[1] & 0x06;
if (buf[1] & 1) {
- av_log_missing_feature(s->avctx, "Interlacing", 0);
+ avpriv_log_missing_feature(s->avctx, "Interlacing", 0);
return AVERROR_PATCHWELCOME;
}
if (separated_coeff || !s->filter_header) {
diff --git a/libavcodec/vp8.c b/libavcodec/vp8.c
index e6b0071..930e2e8 100644
--- a/libavcodec/vp8.c
+++ b/libavcodec/vp8.c
@@ -342,7 +342,7 @@ static int decode_frame_header(VP8Context *s, const uint8_t
*buf, int buf_size)
buf_size -= 7;
if (hscale || vscale)
- av_log_missing_feature(s->avctx, "Upscaling", 1);
+ avpriv_log_missing_feature(s->avctx, "Upscaling", 1);
s->update_golden = s->update_altref = VP56_FRAME_CURRENT;
for (i = 0; i < 4; i++)
diff --git a/libavcodec/wmalosslessdec.c b/libavcodec/wmalosslessdec.c
index 747ac37..b6a58db 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);
+ avpriv_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);
+ avpriv_log_missing_feature(s->avctx, "Arithmetic coding", 1);
return AVERROR_PATCHWELCOME;
}
s->do_ac_filter = get_bits1(&s->gb);
@@ -1190,7 +1190,7 @@ static int decode_packet(AVCodecContext *avctx, void
*data, int *got_frame_ptr,
skip_bits(gb, 1); // Skip seekable_frame_in_packet, currently
ununused
spliced_packet = get_bits1(gb);
if (spliced_packet)
- av_log_missing_feature(avctx, "Bitstream splicing", 1);
+ avpriv_log_missing_feature(avctx, "Bitstream splicing", 1);
/* get number of bits that need to be added to the previous frame */
num_bits_prev_frame = get_bits(gb, s->log2_frame_size);
diff --git a/libavcodec/wmaprodec.c b/libavcodec/wmaprodec.c
index 0954795..e25ee14 100644
--- a/libavcodec/wmaprodec.c
+++ b/libavcodec/wmaprodec.c
@@ -309,7 +309,7 @@ static av_cold int decode_init(AVCodecContext *avctx)
/** get frame len */
bits = ff_wma_get_frame_len_bits(avctx->sample_rate, 3, s->decode_flags);
if (bits > WMAPRO_BLOCK_MAX_BITS) {
- av_log_missing_feature(avctx, "14-bits block sizes", 1);
+ avpriv_log_missing_feature(avctx, "14-bits block sizes", 1);
return AVERROR_PATCHWELCOME;
}
s->samples_per_frame = 1 << bits;
diff --git a/libavcodec/wmavoice.c b/libavcodec/wmavoice.c
index f81e8e9..7689fa9 100644
--- a/libavcodec/wmavoice.c
+++ b/libavcodec/wmavoice.c
@@ -1765,7 +1765,7 @@ static int synth_superframe(AVCodecContext *ctx, AVFrame
*frame,
* 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", 1);
+ avpriv_log_missing_feature(ctx, "WMAPro-in-WMAVoice", 1);
return AVERROR_PATCHWELCOME;
}
diff --git a/libavformat/mpegts.c b/libavformat/mpegts.c
index 399b074..09ae96b 100644
--- a/libavformat/mpegts.c
+++ b/libavformat/mpegts.c
@@ -1089,7 +1089,7 @@ static int parse_MP4SLDescrTag(MP4DescrParseContext *d,
int64_t off, int len)
descr->sl.au_seq_num_len = (lengths >> 7) & 0x1f;
descr->sl.packet_seq_num_len = (lengths >> 2) & 0x1f;
} else {
- av_log_missing_feature(d->s, "Predefined SLConfigDescriptor\n", 0);
+ avpriv_log_missing_feature(d->s, "Predefined SLConfigDescriptor\n", 0);
}
return 0;
}
diff --git a/libavformat/oggparseskeleton.c b/libavformat/oggparseskeleton.c
index 2de067d..7b50651 100644
--- a/libavformat/oggparseskeleton.c
+++ b/libavformat/oggparseskeleton.c
@@ -75,8 +75,9 @@ static int skeleton_header(AVFormatContext *s, int idx)
target_idx = ogg_find_stream(ogg, AV_RL32(buf+12));
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);
+ avpriv_log_missing_feature(s,
+ "Multiple fisbone for the same stream",
+ 0);
return 1;
}
if (target_idx >= 0 && start_granule != OGG_NOGRANULE_VALUE) {
diff --git a/libavformat/rtpdec_latm.c b/libavformat/rtpdec_latm.c
index 7d4ae1e..0f4c971 100644
--- a/libavformat/rtpdec_latm.c
+++ b/libavformat/rtpdec_latm.c
@@ -157,8 +157,8 @@ static int parse_fmtp(AVStream *stream, PayloadContext
*data,
} else if (!strcmp(attr, "cpresent")) {
int cpresent = atoi(value);
if (cpresent != 0)
- av_log_missing_feature(NULL, "RTP MP4A-LATM with in-band "
- "configuration", 1);
+ avpriv_log_missing_feature(NULL, "RTP MP4A-LATM with in-band "
+ "configuration", 1);
}
return 0;
diff --git a/libavformat/rtpdec_qt.c b/libavformat/rtpdec_qt.c
index 6350507..8e0e3f0 100644
--- a/libavformat/rtpdec_qt.c
+++ b/libavformat/rtpdec_qt.c
@@ -97,8 +97,8 @@ static int qt_rtp_parse_packet(AVFormatContext *s,
PayloadContext *qt,
is_start = get_bits1(&gb);
is_finish = get_bits1(&gb);
if (!is_start || !is_finish) {
- av_log_missing_feature(s, "RTP-X-QT with payload description "
- "split over several packets", 1);
+ avpriv_log_missing_feature(s, "RTP-X-QT with payload description "
+ "split over several packets", 1);
return AVERROR_PATCHWELCOME;
}
skip_bits(&gb, 12); // reserved
@@ -161,7 +161,7 @@ static int qt_rtp_parse_packet(AVFormatContext *s,
PayloadContext *qt,
avio_seek(&pb, 4, SEEK_SET);
if (has_packet_info) {
- av_log_missing_feature(s, "RTP-X-QT with packet specific info", 1);
+ avpriv_log_missing_feature(s, "RTP-X-QT with packet specific info", 1);
return AVERROR_PATCHWELCOME;
}
@@ -224,7 +224,7 @@ static int qt_rtp_parse_packet(AVFormatContext *s,
PayloadContext *qt,
return 0;
default: /* unimplemented */
- av_log_missing_feature(NULL, "RTP-X-QT with packing scheme 2", 1);
+ avpriv_log_missing_feature(NULL, "RTP-X-QT with packing scheme 2", 1);
return AVERROR_PATCHWELCOME;
}
}
diff --git a/libavformat/spdifdec.c b/libavformat/spdifdec.c
index 6d37c94..ea29457 100644
--- a/libavformat/spdifdec.c
+++ b/libavformat/spdifdec.c
@@ -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", 1);
+ avpriv_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);
+ avpriv_log_missing_feature(s, "Codec change in IEC 61937", 0);
return AVERROR_PATCHWELCOME;
}
--
1.7.9.5
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel