aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Storsjö <martin@martin.st>2016-04-29 20:37:24 +0300
committerThomas Volkert <thomas@netzeal.de>2016-06-14 08:00:17 +0200
commit94dee9067acd6439550ccc4bdfef1694814ea0bc (patch)
tree1f16ecd76794c41b42653168242760273ee189b4
parent43880f971662c6f79f58ffb373200306e155e0f5 (diff)
downloadffmpeg-94dee9067acd6439550ccc4bdfef1694814ea0bc.tar.gz
rtpdec: Use AVERROR_PATCHWELCOME instead of AVERROR(ENOSYS) for
unimplemented features Signed-off-by: Martin Storsjö <martin@martin.st>
-rw-r--r--libavformat/rtpdec_h264.c2
-rw-r--r--libavformat/rtpdec_vp9.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/libavformat/rtpdec_h264.c b/libavformat/rtpdec_h264.c
index c5eb341b7b..7216dd8320 100644
--- a/libavformat/rtpdec_h264.c
+++ b/libavformat/rtpdec_h264.c
@@ -354,7 +354,7 @@ static int h264_handle_packet(AVFormatContext *ctx, PayloadContext *data,
av_log(ctx, AV_LOG_ERROR,
"Unhandled type (%d) (See RFC for implementation details)\n",
type);
- result = AVERROR(ENOSYS);
+ result = AVERROR_PATCHWELCOME;
break;
case 28: // FU-A (fragmented nal)
diff --git a/libavformat/rtpdec_vp9.c b/libavformat/rtpdec_vp9.c
index 506a5cd020..d02c8b8525 100644
--- a/libavformat/rtpdec_vp9.c
+++ b/libavformat/rtpdec_vp9.c
@@ -223,7 +223,7 @@ static int vp9_handle_packet(AVFormatContext *ctx, PayloadContext *rtp_vp9_ctx,
*/
if (has_ss_data) {
avpriv_report_missing_feature(ctx, "VP9 scalability structure data");
- return AVERROR(ENOSYS);
+ return AVERROR_PATCHWELCOME;
}
/*