aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2011-12-20 18:34:44 +0100
committerMichael Niedermayer <michaelni@gmx.at>2011-12-20 18:34:44 +0100
commit154c0a8c989c4f2af9aca3d4bd3f9bf771178c2a (patch)
treecbc47348bbc2c153bc5bbecc6c07f45ea4940fca
parentd1c1e350c6a7b3f1eedc3ec51085e3e17f1e9fbd (diff)
downloadffmpeg-154c0a8c989c4f2af9aca3d4bd3f9bf771178c2a.tar.gz
replace ENOTSUP by AVERROR_PATCHWELCOME
This unbreaks compilation Found by: jb Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r--libavcodec/libcelt_dec.c2
-rw-r--r--libavformat/sbgdec.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/libcelt_dec.c b/libavcodec/libcelt_dec.c
index 397fea7a88..f982dafec5 100644
--- a/libavcodec/libcelt_dec.c
+++ b/libavcodec/libcelt_dec.c
@@ -40,7 +40,7 @@ static int ff_celt_error_to_averror(int err)
#endif
case CELT_INTERNAL_ERROR: return AVERROR(EFAULT);
case CELT_CORRUPTED_DATA: return AVERROR_INVALIDDATA;
- case CELT_UNIMPLEMENTED: return AVERROR(ENOTSUP);
+ case CELT_UNIMPLEMENTED: return AVERROR_PATCHWELCOME;
#ifdef ENOTRECOVERABLE
case CELT_INVALID_STATE: return AVERROR(ENOTRECOVERABLE);
#endif
diff --git a/libavformat/sbgdec.c b/libavformat/sbgdec.c
index 65a0839b87..e3a05fff06 100644
--- a/libavformat/sbgdec.c
+++ b/libavformat/sbgdec.c
@@ -1467,7 +1467,7 @@ static int sbg_read_seek2(AVFormatContext *avf, int stream_index,
int64_t min_ts, int64_t ts, int64_t max_ts, int flags)
{
if (flags || stream_index > 0)
- return AVERROR(ENOTSUP);
+ return AVERROR_PATCHWELCOME;
if (stream_index < 0)
ts = av_rescale_q(ts, AV_TIME_BASE_Q, avf->streams[0]->time_base);
avf->streams[0]->cur_dts = ts;