comparison aviobuf.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 676463c51735
children df67ee47f76d
comparison
equal deleted inserted replaced
2273:7eb456c4ed8a 2274:b21c2af60bc9
512 512
513 if (init_put_byte(s, buffer, buffer_size, 513 if (init_put_byte(s, buffer, buffer_size,
514 (h->flags & URL_WRONLY || h->flags & URL_RDWR), h, 514 (h->flags & URL_WRONLY || h->flags & URL_RDWR), h,
515 url_read_packet, url_write_packet, url_seek_packet) < 0) { 515 url_read_packet, url_write_packet, url_seek_packet) < 0) {
516 av_free(buffer); 516 av_free(buffer);
517 return AVERROR_IO; 517 return AVERROR(EIO);
518 } 518 }
519 s->is_streamed = h->is_streamed; 519 s->is_streamed = h->is_streamed;
520 s->max_packet_size = max_packet_size; 520 s->max_packet_size = max_packet_size;
521 return 0; 521 return 0;
522 } 522 }