comparison gxf.c @ 2274:b21c2af60bc9 libavformat

Replace all occurrences of AVERROR_IO with AVERROR(EIO).
author takis
date Thu, 19 Jul 2007 15:23:32 +0000
parents a3e79d6e4e3c
children 47f5906c30cc
comparison
equal deleted inserted replaced
2273:7eb456c4ed8a 2274:b21c2af60bc9
471 ret = av_get_packet(pb, pkt, pkt_len); 471 ret = av_get_packet(pb, pkt, pkt_len);
472 pkt->stream_index = get_sindex(s, track_id, track_type); 472 pkt->stream_index = get_sindex(s, track_id, track_type);
473 pkt->dts = field_nr; 473 pkt->dts = field_nr;
474 return ret; 474 return ret;
475 } 475 }
476 return AVERROR_IO; 476 return AVERROR(EIO);
477 } 477 }
478 478
479 static int gxf_seek(AVFormatContext *s, int stream_index, int64_t timestamp, int flags) { 479 static int gxf_seek(AVFormatContext *s, int stream_index, int64_t timestamp, int flags) {
480 uint64_t pos; 480 uint64_t pos;
481 uint64_t maxlen = 100 * 1024 * 1024; 481 uint64_t maxlen = 100 * 1024 * 1024;