aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/rtpdec_qt.c
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2012-10-09 00:41:34 +0200
committerDiego Biurrun <diego@biurrun.de>2012-10-12 20:56:54 +0200
commit717addecad77d85d329a4b502f4098d4912679d7 (patch)
treea947a67910599b4bc30e26fe2e5726f90664adf3 /libavformat/rtpdec_qt.c
parent9e6ea3cef9927be46973c8e972656b4264f8f1f6 (diff)
downloadffmpeg-717addecad77d85d329a4b502f4098d4912679d7.tar.gz
Use proper return values in case of missing features
Diffstat (limited to 'libavformat/rtpdec_qt.c')
-rw-r--r--libavformat/rtpdec_qt.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libavformat/rtpdec_qt.c b/libavformat/rtpdec_qt.c
index 5dd1af1bc8..3093132672 100644
--- a/libavformat/rtpdec_qt.c
+++ b/libavformat/rtpdec_qt.c
@@ -99,7 +99,7 @@ static int qt_rtp_parse_packet(AVFormatContext *s, PayloadContext *qt,
if (!is_start || !is_finish) {
av_log_missing_feature(s, "RTP-X-QT with payload description "
"split over several packets", 1);
- return AVERROR(ENOSYS);
+ return AVERROR_PATCHWELCOME;
}
skip_bits(&gb, 12); // reserved
data_len = get_bits(&gb, 16);
@@ -162,7 +162,7 @@ static int qt_rtp_parse_packet(AVFormatContext *s, PayloadContext *qt,
if (has_packet_info) {
av_log_missing_feature(s, "RTP-X-QT with packet specific info", 1);
- return AVERROR(ENOSYS);
+ return AVERROR_PATCHWELCOME;
}
alen = len - avio_tell(&pb);
@@ -225,7 +225,7 @@ static int qt_rtp_parse_packet(AVFormatContext *s, PayloadContext *qt,
default: /* unimplemented */
av_log_missing_feature(NULL, "RTP-X-QT with packing scheme 2", 1);
- return AVERROR(ENOSYS);
+ return AVERROR_PATCHWELCOME;
}
}