]> rtime.felk.cvut.cz Git - frescor/ffmpeg.git/blobdiff - libavformat/mp3.c
Replace all occurrances of AVERROR_IO with AVERROR(EIO).
[frescor/ffmpeg.git] / libavformat / mp3.c
index 3acdfa5c7fe4be8ca1e79d5eaaf64bef43644165..d8c91e7795bf84cc75f324455aa58019c5dbdaa9 100644 (file)
@@ -485,7 +485,7 @@ static int mp3_read_packet(AVFormatContext *s, AVPacket *pkt)
 
     pkt->stream_index = 0;
     if (ret <= 0) {
-        return AVERROR_IO;
+        return AVERROR(EIO);
     }
     /* note: we need to modify the packet size here to handle the last
        packet */