diff options
Diffstat (limited to 'libavformat/apc.c')
-rw-r--r-- | libavformat/apc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/apc.c b/libavformat/apc.c index ef62606..683c0c2 100644 --- a/libavformat/apc.c +++ b/libavformat/apc.c @@ -75,7 +75,7 @@ static int apc_read_header(AVFormatContext *s, AVFormatParameters *ap) static int apc_read_packet(AVFormatContext *s, AVPacket *pkt) { if (av_get_packet(&s->pb, pkt, MAX_READ_SIZE) <= 0) - return AVERROR_IO; + return AVERROR(EIO); pkt->stream_index = 0; return 0; } |