rtpdec_h264: Use avpriv_report_missing_feature instead of a manual av_log
[ffmpeg.git] / libavformat / rtpdec_h264.c
index 7216dd8320c4cd913704f1cc1af327b36e97f23c..4ab0eee89bf4543ec1bc7047eebe4d85045fc39b 100644 (file)
@@ -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;