You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-10 06:10:52 +02:00
rtpdec_h264: Use avpriv_report_missing_feature instead of a manual av_log
Signed-off-by: Martin Storsjö <martin@martin.st>
This commit is contained in:
committed by
Thomas Volkert
parent
94dee9067a
commit
d50b3fe463
@@ -351,9 +351,7 @@ static int h264_handle_packet(AVFormatContext *ctx, PayloadContext *data,
|
|||||||
case 26: // MTAP-16
|
case 26: // MTAP-16
|
||||||
case 27: // MTAP-24
|
case 27: // MTAP-24
|
||||||
case 29: // FU-B
|
case 29: // FU-B
|
||||||
av_log(ctx, AV_LOG_ERROR,
|
avpriv_report_missing_feature(ctx, "RTP H.264 NAL unit type %d", type);
|
||||||
"Unhandled type (%d) (See RFC for implementation details)\n",
|
|
||||||
type);
|
|
||||||
result = AVERROR_PATCHWELCOME;
|
result = AVERROR_PATCHWELCOME;
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user