diff options
author | Anton Khirnov <anton@khirnov.net> | 2011-04-06 08:16:06 +0200 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2011-04-06 14:10:08 +0200 |
commit | f5b386afab51a2141447b682793ce001abdaeb5c (patch) | |
tree | 4cf5ebb1faee3cfbfd40fe0d919504710987881c /libavformat/rtpdec_qt.c | |
parent | 56a1000917694b2277064c5573b0dd818ad7a379 (diff) | |
download | ffmpeg-f5b386afab51a2141447b682793ce001abdaeb5c.tar.gz |
Reemove remaining uses of deprecated AVERROR_NOTSUPP.
Diffstat (limited to 'libavformat/rtpdec_qt.c')
-rw-r--r-- | libavformat/rtpdec_qt.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libavformat/rtpdec_qt.c b/libavformat/rtpdec_qt.c index 24977ed753..a295ba7381 100644 --- a/libavformat/rtpdec_qt.c +++ b/libavformat/rtpdec_qt.c @@ -98,7 +98,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_NOTSUPP; + return AVERROR(ENOSYS); } skip_bits(&gb, 12); // reserved data_len = get_bits(&gb, 16); @@ -161,7 +161,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_NOTSUPP; + return AVERROR(ENOSYS); } alen = len - avio_tell(&pb); @@ -224,7 +224,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_NOTSUPP; + return AVERROR(ENOSYS); } } |