diff options
author | Diego Biurrun <diego@biurrun.de> | 2015-12-16 18:01:34 +0100 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2016-11-08 17:54:34 +0100 |
commit | 67deba8a416d818f3d95aef0aa916589090396e2 (patch) | |
tree | f8b114c5b54f8e478970bd21542897f0ea1c47a5 /libavformat/lxfdec.c | |
parent | 59d2b00d201935c16408a2917957d89a170fe58f (diff) | |
download | ffmpeg-67deba8a416d818f3d95aef0aa916589090396e2.tar.gz |
Use avpriv_report_missing_feature() where appropriate
Diffstat (limited to 'libavformat/lxfdec.c')
-rw-r--r-- | libavformat/lxfdec.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/libavformat/lxfdec.c b/libavformat/lxfdec.c index 9c884ba9b5..285539c22a 100644 --- a/libavformat/lxfdec.c +++ b/libavformat/lxfdec.c @@ -180,7 +180,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; } @@ -190,8 +190,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; } |