[FFmpeg-devel] [PATCH] libavformat: add librist protocol
Nicolas George
george at nsup.org
Thu Dec 24 00:43:35 EET 2020
Paul B Mahol (12020-12-23):
> I nowhere see proof that this cause any bugs.
get_file_handle() returns a file descriptor for use with select() or
poll(). If you give it a random number (fd is a random number), the
application will poll it as if it were a file descriptor. At best, it
causes EBADFD. At worse the application starts polling an existing and
unrelated file descriptor, causing random behaviors.
> This is fortunately completely false statement. It works just fine.
It works fine because this part of the code is completely not tested by
any of the fftools.
--
Nicolas George
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20201223/80420dca/attachment.sig>
More information about the ffmpeg-devel
mailing list