Module: libav
Branch: master
Commit: 943f4bea37dc8d510d2f43c0bbe0df59c9b34768

Author:    Martin Storsjö <[email protected]>
Committer: Martin Storsjö <[email protected]>
Date:      Fri Apr 29 22:19:33 2016 +0300

rtpdec_h264: Use avpriv_report_missing_feature instead of a manual av_log

Signed-off-by: Martin Storsjö <[email protected]>

---

 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 d7c5e15..43dce74 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;
 

_______________________________________________
libav-commits mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-commits

Reply via email to