AVERROR_NOTSUPP is (maybe) going to be deprecated. Originally committed as revision 22903 to svn://svn.ffmpeg.org/ffmpeg/trunk
Unified · Split
| @@ -141,7 +141,7 @@ static int64_t rtmp_read_seek(URLContext *s, int stream_index, · 140 unmodified lines | |||
| 141 | RTMP *r = s->priv_data; | 141 | RTMP *r = s->priv_data; |
| 142 | 142 | ||
| 143 | if (flags & AVSEEK_FLAG_BYTE) | 143 | if (flags & AVSEEK_FLAG_BYTE) |
| 144 | return AVERROR_NOTSUPP; | 144 | return AVERROR(ENOSYS); |
| 145 | 145 | ||
| 146 | /* seeks are in milliseconds */ | 146 | /* seeks are in milliseconds */ |
| 147 | timestamp = av_rescale(timestamp, AV_TIME_BASE, 1000); | 147 | timestamp = av_rescale(timestamp, AV_TIME_BASE, 1000); |