[FFmpeg-devel] [PATCH 4/5] rtpdec_h264: Use avpriv_report_missing_feature instead of a manual av_log
Thomas Volkert
silvo at gmx.net
Mon Jun 13 21:03:21 CEST 2016
From: Martin Storsjö <martin at martin.st>
Signed-off-by: Martin Storsjö <martin at martin.st>
---
libavformat/rtpdec_h264.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/libavformat/rtpdec_h264.c b/libavformat/rtpdec_h264.c
index 7216dd8..4ab0eee 100644
--- a/libavformat/rtpdec_h264.c
+++ b/libavformat/rtpdec_h264.c
@@ -351,9 +351,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;
--
1.9.1
More information about the ffmpeg-devel
mailing list