From 943f4bea37dc8d510d2f43c0bbe0df59c9b34768 Mon Sep 17 00:00:00 2001 From: Martin Storsjö Date: Fri, 29 Apr 2016 22:19:33 +0300 Subject: rtpdec_h264: Use avpriv_report_missing_feature instead of a manual av_log MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Martin Storsjö --- libavformat/rtpdec_h264.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'libavformat') diff --git a/libavformat/rtpdec_h264.c b/libavformat/rtpdec_h264.c index d7c5e1520f..43dce74c77 100644 --- a/libavformat/rtpdec_h264.c +++ b/libavformat/rtpdec_h264.c @@ -347,9 +347,7 @@ static int h264_handle_packet(AVFormatContext *ctx, PayloadContext *data, case 26: // MTAP-16 case 27: // MTAP-24 case 29: // FU-B - av_log(ctx, AV_LOG_ERROR, - "Unhandled type (%d) (See RFC for implementation details)\n", - type); + avpriv_report_missing_feature(ctx, "RTP H.264 NAL unit type %d", type); result = AVERROR_PATCHWELCOME; break; -- cgit v1.2.3