diff options
author | Mike Melanson <mike@multimedia.cx> | 2004-06-19 03:59:34 +0000 |
---|---|---|
committer | Mike Melanson <mike@multimedia.cx> | 2004-06-19 03:59:34 +0000 |
commit | 0bd586c50dc27ec38ca94e58f50030544d729463 (patch) | |
tree | daa391f5efede8e58b88431b9b453dcbd1e6c2e0 /libavformat/dv1394.c | |
parent | cbf5374fc0f733cefe304fd4d11c7b0fa21fba61 (diff) | |
download | ffmpeg-0bd586c50dc27ec38ca94e58f50030544d729463.tar.gz |
sweeping change from -EIO -> AVERROR_IO
Originally committed as revision 3239 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/dv1394.c')
-rw-r--r-- | libavformat/dv1394.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libavformat/dv1394.c b/libavformat/dv1394.c index cf64a250cb..127a5f77c9 100644 --- a/libavformat/dv1394.c +++ b/libavformat/dv1394.c @@ -126,7 +126,7 @@ static int dv1394_read_header(AVFormatContext * context, AVFormatParameters * ap failed: close(dv->fd); - return -EIO; + return AVERROR_IO; } static int dv1394_read_packet(AVFormatContext *context, AVPacket *pkt) @@ -165,12 +165,12 @@ restart_poll: if (errno == EAGAIN || errno == EINTR) goto restart_poll; perror("Poll failed"); - return -EIO; + return AVERROR_IO; } if (ioctl(dv->fd, DV1394_GET_STATUS, &s) < 0) { perror("Failed to get status"); - return -EIO; + return AVERROR_IO; } #ifdef DV1394_DEBUG fprintf(stderr, "DV1394: status\n" |