kotatogram-desktop/Telegram/SourceFiles/media
Alexander Kernozhitsky ca4b5edf21 Correct FFmpeg API usage
FFmpeg docs say that you must return AVERROR_EOF from the read callback, not zero. Still, Telegram just propagates the return value from IODevice::read() call, which returns zero in case of EOF.

I don't know whether this commit has any effect on the upstream build, but it fixes a bug in Debian build of Telegram, which is using FFmpeg 5.1 instead of 4.4. Still, it's also useful in the upstream, as it makes work with FFmpeg more correct.
2022-09-04 08:04:02 +04:00
..
audio Use quasi-logarithmic volume controls 2022-07-19 19:32:46 +04:00
clip Correct FFmpeg API usage 2022-09-04 08:04:02 +04:00
player Set name / phone texts on-demand. 2022-08-09 14:12:19 +03:00
streaming Fix downloading videos of size > INT_MAX to disk. 2022-08-16 08:56:30 +03:00
view Avoid unneccesary QPA, again 2022-09-03 08:47:02 +04:00
system_media_controls_manager.cpp Improved management of online status from non-primary windows. 2022-06-12 16:07:41 +03:00
system_media_controls_manager.h Implement loop status/shuffle for MPRIS 2021-12-29 00:56:46 +04:00