Mercurial > libavformat.hg
diff internal.h @ 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 | fc705c33843f |
children | 058a0e362dbe |