1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-02-04 06:08:26 +02:00
FFmpeg/libavformat
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-03-15 09:42:29 -03:00
2022-05-10 07:37:38 +02:00
2022-03-15 09:42:29 -03:00
2022-03-15 09:42:29 -03:00
2022-03-15 09:42:30 -03:00
2022-03-15 09:42:30 -03:00
2022-09-23 20:27:35 +02:00
2022-03-27 11:58:54 +02:00
2022-09-23 20:27:35 +02:00
2022-09-24 17:57:35 +02:00
2021-03-31 22:01:36 +02:00
2021-04-27 11:48:06 -03:00
2022-02-24 12:56:49 +01:00
2022-09-04 15:03:32 -04:00
2022-03-15 09:42:30 -03:00
2021-04-27 11:48:06 -03:00
2022-06-09 20:46:10 +02:00
2022-03-15 09:42:31 -03:00
2022-05-10 07:37:38 +02:00
2021-04-27 11:48:06 -03:00
2021-04-27 11:48:06 -03:00
2022-03-15 09:42:31 -03:00
2022-02-24 12:56:49 +01:00
2022-03-15 09:42:31 -03:00
2021-04-27 11:48:06 -03:00
2022-09-24 17:57:36 +02:00
2022-03-15 09:42:31 -03:00
2022-09-24 17:57:37 +02:00
2022-03-16 14:05:26 +02:00
2022-03-15 09:42:32 -03:00
2022-03-16 14:05:26 +02:00
2022-03-15 09:42:32 -03:00
2022-03-15 09:42:32 -03:00
2022-03-15 09:42:33 -03:00
2022-03-15 09:42:33 -03:00
2021-07-20 11:20:04 +05:30
2022-03-15 09:42:33 -03:00
2022-03-15 09:42:33 -03:00
2022-09-10 17:32:47 +02:00
2021-04-27 11:48:06 -03:00
2022-06-24 23:07:33 -03:00
2022-09-22 17:44:05 +02:00
2022-05-10 07:37:38 +02:00
2022-07-16 22:40:44 +02:00
2022-03-15 09:42:33 -03:00
2022-02-24 12:56:49 +01:00
2022-09-30 19:11:36 +02:00
2022-03-15 09:42:33 -03:00
2022-05-06 15:57:45 +02:00
2022-09-16 10:02:19 +02:00
2022-09-23 20:27:35 +02:00
2022-05-10 07:37:38 +02:00
2022-03-15 09:42:34 -03:00
2021-04-27 11:48:06 -03:00
2022-05-10 07:37:38 +02:00
2021-04-27 11:48:06 -03:00
2022-03-15 09:42:35 -03:00
2021-04-27 11:48:06 -03:00
2022-03-15 09:42:35 -03:00
2022-03-15 09:42:35 -03:00
2022-03-15 09:42:35 -03:00
2022-03-15 09:42:35 -03:00
2022-03-15 09:42:35 -03:00
2022-03-15 09:42:35 -03:00
2022-03-15 09:42:36 -03:00
2022-03-15 09:42:36 -03:00
2022-03-15 09:42:36 -03:00
2021-04-27 11:48:06 -03:00
2022-09-24 18:28:19 +02:00
2022-03-15 09:42:36 -03:00
2022-03-15 09:42:36 -03:00
2022-03-26 00:42:00 +02:00
2021-10-07 11:52:10 +02:00
2022-03-15 09:42:37 -03:00
2022-07-07 21:52:52 +02:00
2022-08-31 16:24:22 +02:00
2022-03-15 09:42:37 -03:00
2022-03-15 09:42:37 -03:00
2022-03-15 09:42:37 -03:00
2022-03-15 09:42:37 -03:00
2021-04-27 11:48:06 -03:00
2021-04-27 11:48:06 -03:00
2022-03-15 09:42:37 -03:00
2022-03-15 09:42:37 -03:00
2022-03-15 09:42:38 -03:00
2022-03-15 09:42:38 -03:00
2022-03-15 09:42:38 -03:00
2021-04-27 11:48:06 -03:00
2021-04-27 11:48:06 -03:00
2022-02-12 08:41:55 +08:00
2022-02-24 12:56:49 +01:00
2022-03-15 09:42:38 -03:00
2022-10-04 23:47:54 +02:00
2022-03-15 09:42:38 -03:00
2022-05-10 07:37:38 +02:00
2022-03-15 09:42:38 -03:00
2022-03-15 09:42:38 -03:00
2022-03-15 09:42:38 -03:00
2022-03-15 09:42:39 -03:00
2022-03-15 09:42:39 -03:00