diff options
author | Clément Bœsch <cboesch@gopro.com> | 2017-03-31 11:40:34 +0300 |
---|---|---|
committer | Clément Bœsch <cboesch@gopro.com> | 2017-03-31 11:40:34 +0300 |
commit | e3287077ecff33bd02227b85ec760fe47d796f54 (patch) | |
tree | d94ccb713264f90ad6048bfab85ef7fb85807fca /libavformat/lxfdec.c | |
parent | b6c293d5e609a7b651c47d3de4749840ae00492e (diff) | |
parent | 67deba8a416d818f3d95aef0aa916589090396e2 (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.c | 5 |
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; } |