summaryrefslogtreecommitdiff
path: root/libavformat/rtpdec_xiph.c
diff options
context:
space:
mode:
authorClément Bœsch <cboesch@gopro.com>2017-03-31 10:40:34 +0200
committerClément Bœsch <cboesch@gopro.com>2017-03-31 10:40:34 +0200
commite3287077ecff33bd02227b85ec760fe47d796f54 (patch)
treed94ccb713264f90ad6048bfab85ef7fb85807fca /libavformat/rtpdec_xiph.c
parentb6c293d5e609a7b651c47d3de4749840ae00492e (diff)
parent67deba8a416d818f3d95aef0aa916589090396e2 (diff)
downloadffmpeg-e3287077ecff33bd02227b85ec760fe47d796f54.tar.gz
Merge commit '67deba8a416d818f3d95aef0aa916589090396e2'
* commit '67deba8a416d818f3d95aef0aa916589090396e2': Use avpriv_report_missing_feature() where appropriate Merged-by: Clément Bœsch <cboesch@gopro.com>
Diffstat (limited to 'libavformat/rtpdec_xiph.c')
-rw-r--r--libavformat/rtpdec_xiph.c14
1 files changed, 6 insertions, 8 deletions
diff --git a/libavformat/rtpdec_xiph.c b/libavformat/rtpdec_xiph.c
index e1b79903f6..43de6ce343 100644
--- a/libavformat/rtpdec_xiph.c
+++ b/libavformat/rtpdec_xiph.c
@@ -108,15 +108,14 @@ static int xiph_handle_packet(AVFormatContext *ctx, PayloadContext *data,
}
if (ident != data->ident) {
- av_log(ctx, AV_LOG_ERROR,
- "Unimplemented Xiph SDP configuration change detected\n");
+ avpriv_report_missing_feature(ctx, "Xiph SDP configuration change");
return AVERROR_PATCHWELCOME;
}
if (tdt) {
- av_log(ctx, AV_LOG_ERROR,
- "Unimplemented RTP Xiph packet settings (%d,%d,%d)\n",
- fragmented, tdt, num_pkts);
+ avpriv_report_missing_feature(ctx,
+ "RTP Xiph packet settings (%d,%d,%d)",
+ fragmented, tdt, num_pkts);
return AVERROR_PATCHWELCOME;
}
@@ -246,9 +245,8 @@ parse_packed_headers(AVFormatContext *s,
length2 = get_base128(&packed_headers, packed_headers_end);
if (num_packed != 1 || num_headers > 3) {
- av_log(s, AV_LOG_ERROR,
- "Unimplemented number of headers: %u packed headers, %u headers\n",
- num_packed, num_headers);
+ avpriv_report_missing_feature(s, "%u packed headers, %u headers",
+ num_packed, num_headers);
return AVERROR_PATCHWELCOME;
}