[vlc-devel] [PATCH] stream: remove VLC_USED for vlc_stream_Seek
Thomas Guillem
thomas at gllm.fr
Wed Mar 6 15:33:55 CET 2019
Because most stream/access implementations will just set an offset on seek and
return the actual I/O error on the next read.
We could also have seek not returning anything.
---
include/vlc_stream.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/vlc_stream.h b/include/vlc_stream.h
index ef204b27dd..c739832bd6 100644
--- a/include/vlc_stream.h
+++ b/include/vlc_stream.h
@@ -294,7 +294,7 @@ VLC_API bool vlc_stream_Eof(const stream_t *) VLC_USED;
* @param offset byte offset from the beginning of the stream
* @return zero on success, a negative value on error
*/
-VLC_API int vlc_stream_Seek(stream_t *, uint64_t offset) VLC_USED;
+VLC_API int vlc_stream_Seek(stream_t *, uint64_t offset);
VLC_API int vlc_stream_vaControl(stream_t *s, int query, va_list args);
--
2.20.1
More information about the vlc-devel
mailing list