[FFmpeg-cvslog] rtpdec_h264: Use avpriv_report_missing_feature instead of a manual av_log
Martin Storsjö
git at videolan.org
Tue Jun 14 08:05:42 CEST 2016
ffmpeg | branch: master | Martin Storsjö <martin at martin.st> | Fri Apr 29 22:19:33 2016 +0300| [d50b3fe463138a8378d0d0884750bd71db825c82] | committer: Thomas Volkert
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=d50b3fe463138a8378d0d0884750bd71db825c82
---
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 7216dd8..4ab0eee 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;
More information about the ffmpeg-cvslog
mailing list