diff vocdec.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 d52c718e83f9
line wrap: on
line diff
--- a/vocdec.c	Thu Jul 19 15:37:44 2007 +0000
+++ b/vocdec.c	Thu Jul 19 15:38:33 2007 +0000
@@ -47,7 +47,7 @@
     header_size = get_le16(pb) - 22;
     if (header_size != 4) {
         av_log(s, AV_LOG_ERROR, "unknown header size: %d\n", header_size);
-        return AVERROR_NOTSUPP;
+        return AVERROR(ENOSYS);
     }
     url_fskip(pb, header_size);
     st = av_new_stream(s, 0);