rtpdec: Use AVERROR_PATCHWELCOME instead of AVERROR(ENOSYS) for
authorMartin Storsjö <martin@martin.st>
Fri, 29 Apr 2016 17:37:24 +0000 (20:37 +0300)
committerThomas Volkert <thomas@netzeal.de>
Tue, 14 Jun 2016 06:00:17 +0000 (08:00 +0200)
unimplemented features

Signed-off-by: Martin Storsjö <martin@martin.st>
libavformat/rtpdec_h264.c
libavformat/rtpdec_vp9.c

index c5eb341..7216dd8 100644 (file)
@@ -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)
index 506a5cd..d02c8b8 100644 (file)
@@ -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;
     }
 
     /*