aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/rpl.c
diff options
context:
space:
mode:
authorPaul B Mahol <onemda@gmail.com>2013-10-14 18:18:25 +0000
committerPaul B Mahol <onemda@gmail.com>2013-10-14 18:18:25 +0000
commit42a8d8aee8582e21b160dd991efb89be2fae93ac (patch)
tree82eb1929193791f0691a3d95a17ebe305c7de263 /libavformat/rpl.c
parent0f99aad80f656c1bb0fca8034f17447dfc7a1876 (diff)
downloadffmpeg-42a8d8aee8582e21b160dd991efb89be2fae93ac.tar.gz
avformat/rpl: use avpriv_report_missing_feature/avpriv_request_sample
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Diffstat (limited to 'libavformat/rpl.c')
-rw-r--r--libavformat/rpl.c12
1 files changed, 4 insertions, 8 deletions
diff --git a/libavformat/rpl.c b/libavformat/rpl.c
index 0bc4b9767f..61a2316412 100644
--- a/libavformat/rpl.c
+++ b/libavformat/rpl.c
@@ -168,9 +168,8 @@ static int rpl_read_header(AVFormatContext *s)
vst->codec->codec_id = AV_CODEC_ID_ESCAPE130;
break;
default:
- av_log(s, AV_LOG_WARNING,
- "RPL video format %i not supported yet!\n",
- vst->codec->codec_tag);
+ avpriv_report_missing_feature(s, "Video format %i",
+ vst->codec->codec_tag);
vst->codec->codec_id = AV_CODEC_ID_NONE;
}
@@ -220,11 +219,8 @@ static int rpl_read_header(AVFormatContext *s)
}
break;
}
- if (ast->codec->codec_id == AV_CODEC_ID_NONE) {
- av_log(s, AV_LOG_WARNING,
- "RPL audio format %i not supported yet!\n",
- audio_format);
- }
+ if (ast->codec->codec_id == AV_CODEC_ID_NONE)
+ avpriv_request_sample(s, "Audio format %i", audio_format);
avpriv_set_pts_info(ast, 32, 1, ast->codec->bit_rate);
} else {
for (i = 0; i < 3; i++)