[FFmpeg-cvslog] rtpdec_h264: Use avpriv_report_missing_feature instead of a manual av_log
Martin Storsjö
git at videolan.org
Tue Jun 21 13:43:23 CEST 2016
ffmpeg | branch: master | Martin Storsjö <martin at martin.st> | Fri Apr 29 22:19:33 2016 +0300| [943f4bea37dc8d510d2f43c0bbe0df59c9b34768] | committer: Martin Storsjö
rtpdec_h264: Use avpriv_report_missing_feature instead of a manual av_log
Signed-off-by: Martin Storsjö <martin at martin.st>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=943f4bea37dc8d510d2f43c0bbe0df59c9b34768
---
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;
More information about the ffmpeg-cvslog
mailing list