summaryrefslogtreecommitdiff
path: root/libavformat/lxfdec.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/lxfdec.c
parentb6c293d5e609a7b651c47d3de4749840ae00492e (diff)
parent67deba8a416d818f3d95aef0aa916589090396e2 (diff)
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/lxfdec.c')
-rw-r--r--libavformat/lxfdec.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/libavformat/lxfdec.c b/libavformat/lxfdec.c
index 99e56f243f..9b3eb6a650 100644
--- a/libavformat/lxfdec.c
+++ b/libavformat/lxfdec.c
@@ -181,7 +181,7 @@ static int get_packet_header(AVFormatContext *s)
st->codecpar->bits_per_coded_sample = (audio_format >> 6) & 0x3F;
if (st->codecpar->bits_per_coded_sample != (audio_format & 0x3F)) {
- av_log(s, AV_LOG_WARNING, "only tightly packed PCM currently supported\n");
+ avpriv_report_missing_feature(s, "Not tightly packed PCM");
return AVERROR_PATCHWELCOME;
}
@@ -191,8 +191,7 @@ static int get_packet_header(AVFormatContext *s)
case 24: st->codecpar->codec_id = AV_CODEC_ID_PCM_S24LE_PLANAR; break;
case 32: st->codecpar->codec_id = AV_CODEC_ID_PCM_S32LE_PLANAR; break;
default:
- av_log(s, AV_LOG_WARNING,
- "only 16-, 20-, 24- and 32-bit PCM currently supported\n");
+ avpriv_report_missing_feature(s, "PCM not 16-, 20-, 24- or 32-bits");
return AVERROR_PATCHWELCOME;
}