History

Prefer AVERROR(ENOSYS) over AVERROR_NOTSUPP.

AVERROR_NOTSUPP is (maybe) going to be deprecated. Originally committed as revision 22903 to svn://svn.ffmpeg.org/ffmpeg/trunk

Stefano Sabatini committed 16 years ago

Commit d79fc841 parent 4c4ef3d1 file · +1 −1Browse files

Unified · Split

libavformat/librtmp.c+1−1
@@ -141,7 +141,7 @@ static int64_t rtmp_read_seek(URLContext *s, int stream_index, · 140 unmodified lines
141141 RTMP *r = s->priv_data;
142142
143143 if (flags & AVSEEK_FLAG_BYTE)
144− return AVERROR_NOTSUPP;
144+ return AVERROR(ENOSYS);
145145
146146 /* seeks are in milliseconds */
147147 timestamp = av_rescale(timestamp, AV_TIME_BASE, 1000);

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t