1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-01-19 05:49:09 +02:00
FFmpeg/libavformat
Guangyu Sun e7dd643419 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>
(cherry picked from commit fc6f7e2a3b2fff6c4df957684d939586a3de448f)
Signed-off-by: Anton Khirnov <anton@khirnov.net>
2022-10-14 12:24:21 +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-03-27 11:58:54 +02:00
2022-09-24 22:58:19 +02:00
2022-02-24 12:56:49 +01:00
2022-06-13 22:42:55 +02:00
2022-06-13 22:42:55 +02:00
2022-03-15 09:42:30 -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
2022-03-15 09:42:31 -03:00
2022-02-24 12:56:49 +01:00
2022-03-15 09:42:31 -03:00
2022-09-24 22:58:20 +02:00
2022-03-15 09:42:31 -03:00
2022-03-15 09:42:31 -03:00
2022-09-24 22:58:20 +02:00
2022-06-09 13:03:55 +03:00
2022-03-16 14:05:26 +02:00
2022-03-15 09:42:32 -03:00
2022-07-09 20:16:39 +02: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
2022-03-15 09:42:33 -03:00
2022-03-15 09:42:33 -03:00
2022-09-24 22:58:15 +02:00
2022-06-24 23:07:33 -03:00
2022-09-24 22:58:18 +02:00
2022-05-10 07:37:38 +02:00
2022-03-15 09:42:33 -03:00
2022-07-03 15:16:31 +02:00
2022-07-03 15:16:31 +02:00
2022-03-15 09:42:33 -03:00
2022-02-24 12:56:49 +01:00
2022-07-09 19:03:28 +02:00
2022-03-15 09:42:33 -03:00
2022-05-06 15:57:45 +02:00
2022-07-03 15:16:31 +02:00
2022-05-10 07:37:38 +02:00
2022-03-15 09:42:34 -03:00
2022-05-10 07:37:38 +02:00
2022-05-10 07:37:38 +02: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-06-16 18:38:50 +02:00
2022-03-15 09:42:35 -03:00
2022-09-24 22:58:21 +02: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
2022-09-24 22:58:22 +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-03-15 09:42:37 -03:00
2022-05-10 07:37:38 +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
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
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-03-16 14:05:26 +02:00
2022-07-13 00:27:37 +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