diff utils.c @ 2276:3c1e2d519277 libavformat

Replace all occurrences of AVERROR_NOTSUPP with AVERROR(ENOSYS).
author takis
date Thu, 19 Jul 2007 15:38:33 +0000
parents b21c2af60bc9
children ab7f29ef9976
line wrap: on
line diff
--- a/utils.c	Thu Jul 19 15:37:44 2007 +0000
+++ b/utils.c	Thu Jul 19 15:38:33 2007 +0000
@@ -2000,14 +2000,14 @@
 int av_read_play(AVFormatContext *s)
 {
     if (!s->iformat->read_play)
-        return AVERROR_NOTSUPP;
+        return AVERROR(ENOSYS);
     return s->iformat->read_play(s);
 }
 
 int av_read_pause(AVFormatContext *s)
 {
     if (!s->iformat->read_pause)
-        return AVERROR_NOTSUPP;
+        return AVERROR(ENOSYS);
     return s->iformat->read_pause(s);
 }