diff options
author | Panagiotis Issaris | 2007-07-19 15:23:32 +0000 |
---|---|---|
committer | Panagiotis Issaris | 2007-07-19 15:23:32 +0000 |
commit | 6f3e0b21748b53fd7b0471196bbda1d7e561f4fe (patch) | |
tree | 5130d5b49907a72bf1f16c7861ec3b891a3708e4 /libavformat/avisynth.c | |
parent | 769e10f0684c63aefb6fe36788f3e543312e185d (diff) |
Replace all occurrences of AVERROR_IO with AVERROR(EIO).
Originally committed as revision 9760 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/avisynth.c')
-rw-r--r-- | libavformat/avisynth.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavformat/avisynth.c b/libavformat/avisynth.c index 1afcdea5e6..158cac1fcd 100644 --- a/libavformat/avisynth.c +++ b/libavformat/avisynth.c @@ -156,10 +156,10 @@ static int avisynth_read_packet(AVFormatContext *s, AVPacket *pkt) stream = &avs->streams[stream_id]; if (stream->read >= stream->info.dwLength) - return AVERROR_IO; + return AVERROR(EIO); if (av_new_packet(pkt, stream->chunck_size)) - return AVERROR_IO; + return AVERROR(EIO); pkt->stream_index = stream_id; pkt->pts = avs->streams[stream_id].read / avs->streams[stream_id].chunck_samples; |