155 Commits (f8af93ab99a132c268e4ce83736762555e928b96)

Author SHA1 Message Date
Anton Khirnov ae628ec1fd avio: rename ByteIOContext to AVIOContext. 14 years ago
Anton Khirnov 93b78d1210 lavf: make a variant of ff_get_str16_nolen public 14 years ago
Anton Khirnov dccbd97d72 lavf: move ff_put_str16_nolen from asf to avio and rename it 14 years ago
Anton Khirnov 4efd5cf34b avio: add av_put_str and deprecate put_strz in favor of it 14 years ago
Martin Storsjö c66f53cf8b Revert aviobuf: Retry if the read/write function returns AVERROR(EAGAIN) 14 years ago
Martin Storsjö a6963f8304 aviobuf: Retry if the read/write function returns AVERROR(EAGAIN) 14 years ago
Anssi Hannula 17ee8f669f Add function put_nbyte() to speed up padding in SPDIF muxer. 14 years ago
Aurelien Jacobs 364cacc7c7 add FF_API_URL_RESETBUF define to disable the deprecated url_resetbuf() 15 years ago
Reimar Döffinger 853a0fccce Cosmetics: fix indentation and remove a useless else. 15 years ago
Reimar Döffinger 3aa13da970 Simplify get_byte and url_fgetc. 15 years ago
Martin Storsjö 496c645d3b Never shrink the ByteIOContext buffer in ff_rewind_with_probe_data 15 years ago
Aurelien Jacobs a43416a540 improve ff_get_line to return line length 15 years ago
Aurelien Jacobs 7c89295145 move ff_get_line to aviobuf.c 15 years ago
Martin Storsjö aff4137d5f Remove an assert that was no longer correct nor relevant 15 years ago
Martin Storsjö 7939d0edce aviobuf: Do short seeks forward by reading and skipping data instead of a proper seek 15 years ago
Martin Storsjö d5e9ddeb73 url_fskip: Return an error code if the url_fseek failed 15 years ago
Michael Chinen 603e5c0b71 move ff_get_v_length and ff_put_v from nutenc.c to internal.h/aviobuf.c 15 years ago
Eli Friedman 6fa197e277 Silence a warning when compiling aviobuf.c 15 years ago
Josh Allmann de1807bbc4 Pad the buffer in url_close_dyn_buf, for buffers opened with url_open_dyn_buf 15 years ago
Stefano Sabatini 9d30e0682a Do not initialize res in url_fseek(), in the case !s->seek directly 15 years ago
Stefano Sabatini 4c4ef3db4b Make url_fsize() return AVERROR(ENOSYS) rather than AVERROR(EPIPE) if 15 years ago
Howard Chu c007c687c9 Do not set pos to an error value. 15 years ago
Tomas Härdin 7a6fe01f99 Seeking forward in non-seekable media by discarding data, regardless of how far to seek. Won't SEEK_END unless forced though. 15 years ago
Tomas Härdin 01d91b9be9 Reusing the probe buffer to rewind the ByteIOContext in ff_probe_input_buffer() instead of seeking back to the start of the file. Once exhausted, the size of the buffer is reduced. 15 years ago
Tomas Härdin c6a5e087cf Mask away AVSEEK_FORCE properly in some checks in url_fseek() 15 years ago
Stefano Sabatini 8d5e638f04 Make url_fseek() return AVERROR_EOF rather than AVERROR(EPIPE) if end 15 years ago
Michael Niedermayer 493f54ada0 Add AVSEEK_FORCE flag to indicate that the code should attempt to seek 15 years ago
Stefano Sabatini 8757dc5e40 Remove duplicated empty line. 15 years ago
Benoit Fouet 08580cb05a Make url_resetbuf() assert on wrong flags passed and make it static on next 15 years ago
Reimar Döffinger 90aa6ace63 Merge declaration and initialization 15 years ago
Reimar Döffinger 098d8e0950 Simplify: use FFMIN 15 years ago
Reimar Döffinger 7f7686dfb1 Make get_buffer and get_partial_buffer return url_ferror or AVERROR_EOF as 15 years ago
Baptiste Coudurier b3eab9fb64 seek inside buffer when offset is exactly at the end, fix seeking with memory ByteIOContext 16 years ago
Reimar Döffinger 0c5a43d648 Merge declaration and initialization of io_buffer_size 16 years ago
Reimar Döffinger 2bdaf78c52 Make io_buffer_size unsigned to avoid a warning about comparing 16 years ago
Reimar Döffinger 0e7ceb2442 Return AVERROR(ENOMEM) instead of -1 when malloc fails in url_open_dyn_buf_internal 16 years ago
Reimar Döffinger aa805f94c5 Use AV_WB32 instead of reimplementing it. 16 years ago
Reimar Döffinger dc2c2eea41 Use av_mallocz instead of explicitly zeroing in url_open_dyn_buf_internal. 16 years ago
Reimar Döffinger 7ce820efa0 Replace nonsense -1234 return value in dyn_buf_write by proper AVERROR(ENOMEM) 16 years ago
Aurelien Jacobs b250f9c66d Change semantic of CONFIG_*, HAVE_* and ARCH_*. 16 years ago
Aurelien Jacobs 9daa4ceaa3 Initialize s->opaque before calling url_resetbuf(). 16 years ago
Diego Biurrun 7f37f5687d whitespace cosmetics 16 years ago
Jindřich Makovička f5edd874fa always use the whole buffer for reading w/ packetized sources to avoid packet truncation 16 years ago
Michael Niedermayer 4589dc5c4d Append read data onto the buffer instead of overwriting, this ensures 16 years ago
Reimar Döffinger 6bc03a695b Make size variables in dyn_buf_write unsigned so gcc will not optimize the 16 years ago
Diego Biurrun bc5c918ea8 Remove offset_t typedef and use int64_t directly instead. 16 years ago
Baptiste Coudurier 39a127bfbc Only reset buffer state if seeking is successful; update seek reg ref. 17 years ago
Diego Biurrun 245976da2a Use full path for #includes from another directory. 17 years ago
Aurelien Jacobs 3abe5fbdc4 improve CRC API 17 years ago
Reimar Döffinger 1e0f346896 Add a av_alloc_put_byte function. 17 years ago