aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/asfcrypt.h
diff options
context:
space:
mode:
authorGuangyu Sun <sunguangyucn@gmail.com>2022-09-29 11:11:34 -0700
committerAnton Khirnov <anton@khirnov.net>2022-10-14 12:19:13 +0200
commitfc6f7e2a3b2fff6c4df957684d939586a3de448f (patch)
treeec5519d3bea55faff4a35b254260795c755d77cb /libavformat/asfcrypt.h
parentfed841f6f9ca0251358f386411127bb248601349 (diff)
downloadffmpeg-fc6f7e2a3b2fff6c4df957684d939586a3de448f.tar.gz
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>
Diffstat (limited to 'libavformat/asfcrypt.h')
0 files changed, 0 insertions, 0 deletions