aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Storsjö <martin@martin.st>2016-04-29 22:19:33 +0300
committerMartin Storsjö <martin@martin.st>2016-04-30 20:58:18 +0300
commit943f4bea37dc8d510d2f43c0bbe0df59c9b34768 (patch)
tree9d237cabe407e54088c4c734192e751185a143c2
parentb55e3633d3f60cf0f51269f25936409b79d2729e (diff)
downloadffmpeg-943f4bea37dc8d510d2f43c0bbe0df59c9b34768.tar.gz
rtpdec_h264: Use avpriv_report_missing_feature instead of a manual av_log
Signed-off-by: Martin Storsjö <martin@martin.st>
-rw-r--r--libavformat/rtpdec_h264.c4
1 files changed, 1 insertions, 3 deletions
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;