Browse Source

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
tags/v0.6
Stefano Sabatini 16 years ago
parent
commit
d79fc8403b
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavformat/librtmp.c

+ 1
- 1
libavformat/librtmp.c View File

@@ -141,7 +141,7 @@ static int64_t rtmp_read_seek(URLContext *s, int stream_index,
RTMP *r = s->priv_data;

if (flags & AVSEEK_FLAG_BYTE)
return AVERROR_NOTSUPP;
return AVERROR(ENOSYS);

/* seeks are in milliseconds */
timestamp = av_rescale(timestamp, AV_TIME_BASE, 1000);


Loading…
Cancel
Save