From b0aaf304a778f0a49d42c032aa83efa62c3291c4 Mon Sep 17 00:00:00 2001 From: Nicolas George Date: Tue, 20 Dec 2011 19:08:04 +0100 Subject: Replace PATCHWELCOME by relevant error codes. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This supersedes commit 154c0a8. The bug was also reported by Rafaël Carré. --- libavformat/sbgdec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libavformat/sbgdec.c') diff --git a/libavformat/sbgdec.c b/libavformat/sbgdec.c index e3a05fff06..fb0882c31c 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_PATCHWELCOME; + return AVERROR(EINVAL); if (stream_index < 0) ts = av_rescale_q(ts, AV_TIME_BASE_Q, avf->streams[0]->time_base); avf->streams[0]->cur_dts = ts; -- cgit v1.2.3