summaryrefslogtreecommitdiff
path: root/libavformat
diff options
context:
space:
mode:
authorMartin Storsjö <martin@martin.st>2016-04-29 22:19:33 +0300
committerThomas Volkert <thomas@netzeal.de>2016-06-14 08:00:17 +0200
commitd50b3fe463138a8378d0d0884750bd71db825c82 (patch)
tree65331c6d4d87438b1103e4d22eb108db0da7bffd /libavformat
parent94dee9067acd6439550ccc4bdfef1694814ea0bc (diff)
rtpdec_h264: Use avpriv_report_missing_feature instead of a manual av_log
Signed-off-by: Martin Storsjö <martin@martin.st>
Diffstat (limited to 'libavformat')
-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 7216dd8320..4ab0eee89b 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;