diff options
Diffstat (limited to 'libavformat/aviobuf.c')
-rw-r--r-- | libavformat/aviobuf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/aviobuf.c b/libavformat/aviobuf.c index 0c17863..e7d9a62 100644 --- a/libavformat/aviobuf.c +++ b/libavformat/aviobuf.c @@ -514,7 +514,7 @@ int url_fdopen(ByteIOContext *s, URLContext *h) (h->flags & URL_WRONLY || h->flags & URL_RDWR), h, url_read_packet, url_write_packet, url_seek_packet) < 0) { av_free(buffer); - return AVERROR_IO; + return AVERROR(EIO); } s->is_streamed = h->is_streamed; s->max_packet_size = max_packet_size; |