Mercurial > libavformat.hg
diff metadata_compat.c @ 5253:a2289b41a9f2 libavformat
Make get_buffer and get_partial_buffer return url_ferror or AVERROR_EOF as
appropriate if it couldn't read any data at all.
This should make handling of EOF and error simpler or make it work right without
extra code in a few place (e.g. raw demuxer).
author | reimar |
---|---|
date | Fri, 02 Oct 2009 06:36:39 +0000 |
parents | 8d5d5bcf76c9 |
children | 27fd77f20a89 |