Browse Source

rtpdec_h264: Use avpriv_report_missing_feature instead of a manual av_log

Signed-off-by: Martin Storsjö <martin@martin.st>
tags/n3.1
Martin Storsjö 9 years ago
parent
commit
943f4bea37
1 changed files with 1 additions and 3 deletions
  1. +1
    -3
      libavformat/rtpdec_h264.c

+ 1
- 3
libavformat/rtpdec_h264.c View File

@@ -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;



Loading…
Cancel
Save