Mercurial > libavformat.hg
comparison 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 |
comparison
equal
deleted
inserted
replaced
2275:7192ab16a21a | 2276:3c1e2d519277 |
---|---|
1998 /*******************************************************/ | 1998 /*******************************************************/ |
1999 | 1999 |
2000 int av_read_play(AVFormatContext *s) | 2000 int av_read_play(AVFormatContext *s) |
2001 { | 2001 { |
2002 if (!s->iformat->read_play) | 2002 if (!s->iformat->read_play) |
2003 return AVERROR_NOTSUPP; | 2003 return AVERROR(ENOSYS); |
2004 return s->iformat->read_play(s); | 2004 return s->iformat->read_play(s); |
2005 } | 2005 } |
2006 | 2006 |
2007 int av_read_pause(AVFormatContext *s) | 2007 int av_read_pause(AVFormatContext *s) |
2008 { | 2008 { |
2009 if (!s->iformat->read_pause) | 2009 if (!s->iformat->read_pause) |
2010 return AVERROR_NOTSUPP; | 2010 return AVERROR(ENOSYS); |
2011 return s->iformat->read_pause(s); | 2011 return s->iformat->read_pause(s); |
2012 } | 2012 } |
2013 | 2013 |
2014 void av_close_input_file(AVFormatContext *s) | 2014 void av_close_input_file(AVFormatContext *s) |
2015 { | 2015 { |