diff librtmp.c @ 5962:e967aa2c1754 libavformat

Prefer AVERROR(ENOSYS) over AVERROR_NOTSUPP. AVERROR_NOTSUPP is (maybe) going to be deprecated.
author stefano
date Sun, 18 Apr 2010 19:09:22 +0000
parents 7f9a0da9f56a
children 12bdd63f5259
line wrap: on
line diff
--- a/librtmp.c	Sun Apr 18 17:37:21 2010 +0000
+++ b/librtmp.c	Sun Apr 18 19:09:22 2010 +0000
@@ -141,7 +141,7 @@
     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);