Guangyu Sun
fc6f7e2a3b
lavf/async: Fix ring_write return value
...
This fixes a regression from commit 36117968ad .
wrapped_url_read() used to be able to return positive number from
ffurl_read(). It relies on the result to check if EOF is reached in
async_buffer_task().
But FIFO callbacks must return 0 on success. This should be handled
in ring_write() instead.
Test case:
ffmpeg -f lavfi -i testsrc -t 1 test.mp4
ffmpeg -i async:test.mp4
Signed-off-by: Guangyu Sun <gsun@roblox.com >
Signed-off-by: Anton Khirnov <anton@khirnov.net >
2022-10-14 12:19:13 +02:00
..
2022-08-27 02:16:36 +02:00
2022-08-08 16:19:38 +02:00
2022-10-02 20:16:42 +02:00
2022-09-22 17:44:05 +02:00
2022-09-23 20:27:35 +02:00
2022-09-23 20:27:35 +02:00
2022-09-24 17:57:35 +02:00
2022-09-24 17:57:35 +02:00
2022-09-19 17:05:33 +02:00
2022-09-24 17:57:36 +02:00
2022-09-26 03:02:50 +02:00
2022-10-14 12:19:13 +02:00
2022-09-26 03:02:50 +02:00
2022-08-12 18:54:19 +02:00
2022-08-22 11:35:43 +02:00
2022-09-24 14:03:59 +02:00
2022-10-03 23:21:57 +02:00
2022-10-03 23:21:57 +02:00
2022-10-04 18:01:01 +02:00
2022-09-04 15:03:32 -04:00
2022-09-16 17:49:40 +02:00
2022-09-03 15:41:44 +02:00
2022-09-24 17:57:36 +02:00
2022-09-24 12:16:15 -03:00
2022-09-26 03:02:50 +02:00
2022-09-22 15:34:54 +02:00
2022-09-26 03:02:50 +02:00
2022-09-26 03:02:50 +02:00
2022-09-24 17:57:36 +02:00
2022-09-26 03:02:50 +02:00
2022-09-05 08:13:57 +02:00
2022-09-05 08:00:57 +02:00
2022-09-05 08:10:26 +02:00
2022-09-24 17:57:37 +02:00
2022-08-12 18:54:19 +02:00
2022-09-03 15:41:44 +02:00
2022-09-26 03:02:50 +02:00
2022-09-24 18:27:43 +02:00
2022-09-26 03:02:50 +02:00
2022-09-24 17:57:37 +02:00
2022-09-02 11:42:20 +02:00
2022-09-10 17:32:47 +02:00
2022-09-26 03:02:50 +02:00
2022-09-22 17:44:05 +02:00
2022-08-28 22:06:44 +02:00
2022-09-03 15:41:44 +02:00
2022-08-25 23:19:57 +02:00
2022-09-28 11:54:52 +10:00
2022-08-07 19:18:18 +10:00
2022-08-07 19:18:18 +10:00
2022-09-26 03:02:50 +02:00
2022-09-03 15:41:44 +02:00
2022-09-30 19:11:36 +02:00
2022-08-08 16:19:38 +02:00
2022-09-21 13:58:40 +08:00
2022-09-24 17:57:37 +02:00
2022-09-16 10:02:19 +02:00
2022-10-02 20:16:42 +02:00
2022-09-23 20:27:35 +02:00
2022-09-26 03:02:27 +02:00
2022-09-26 03:02:50 +02:00
2022-09-21 13:58:40 +08:00
2022-09-22 14:10:22 -07:00
2022-10-08 22:56:30 +08:00
2022-09-26 03:02:50 +02:00
2022-10-08 22:55:31 +08:00
2022-09-03 15:41:44 +02:00
2022-09-05 20:36:01 +02:00
2022-08-12 18:54:19 +02:00
2022-08-07 22:01:21 +02:00
2022-08-07 22:01:21 +02:00
2022-10-06 10:23:39 +02:00
2022-09-26 03:02:50 +02:00
2022-09-25 14:56:03 +02:00
2022-09-26 03:02:50 +02:00
2022-08-24 03:43:52 +02:00
2022-08-03 21:18:25 +02:00
2022-09-26 03:02:50 +02:00
2022-08-08 16:19:38 +02:00
2022-09-24 14:03:59 +02:00
2022-09-20 18:58:23 -03:00
2022-09-26 03:02:50 +02:00
2022-09-24 18:28:19 +02:00
2022-09-24 18:29:08 +02:00
2022-09-26 03:02:50 +02:00
2022-09-24 18:28:41 +02:00
2022-08-31 16:24:22 +02:00
2022-09-24 18:28:51 +02:00
2022-09-26 03:02:50 +02:00
2022-08-12 18:54:19 +02:00
2022-09-24 18:29:32 +02:00
2022-09-20 18:32:28 +02:00
2022-08-23 20:03:03 +02:00
2022-08-12 18:54:19 +02:00
2022-10-03 23:21:57 +02:00
2022-10-08 22:55:31 +08:00
2022-10-04 23:47:54 +02:00
2022-08-24 10:45:33 +08:00
2022-09-05 20:36:22 +02:00
2022-09-24 18:28:57 +02:00