Guillaume Desmottes 5b4eb339a3 sparsefile: ensure error is set when read_buffer() returns 0
gst_sparse_file_read() is supposed to set @error when returning 0 but
in some cases was not.

Hopefully fix a crash in gst_download_buffer_read_buffer() which is
checking error->code when 0 is returned.
I'm not totally sure when this happens as I debugged this from a post
mortem crash but returning a generic error here seems the safe thing to
do.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8321>
2025-01-20 13:33:10 +00:00
..
2024-11-07 10:38:08 +00:00
2024-08-17 15:00:11 +05:30
2024-09-27 16:43:37 +00:00
2024-08-17 15:00:11 +05:30
2024-08-14 04:34:27 +00:00