[FFmpeg-trac] #5615(avformat:new): avformat_open_input on dead UDP source link hangs after interrupt_callback signaled exit

FFmpeg trac at avcodec.org
Mon Nov 28 10:29:40 EET 2016


#5615: avformat_open_input on dead UDP source link hangs after interrupt_callback
signaled exit
------------------------------------+------------------------------------
             Reporter:  Marlon      |                    Owner:
                 Type:  defect      |                   Status:  new
             Priority:  normal      |                Component:  avformat
              Version:  git-master  |               Resolution:
             Keywords:  udp         |               Blocked By:
             Blocking:              |  Reproduced by developer:  0
Analyzed by developer:  0           |
------------------------------------+------------------------------------

Comment (by superware):

 Replying to [comment:2 cehoyos]:
 > How can the issue be reproduced?

 Hi cehoyos,

 Simply open a non-existing UDP stream, such as "udp://127.0.0.1:8000", and
 avformat_open_input will hang even if the interrupt_callback.callback
 returns 1 ("During blocking operations, callback is called with opaque as
 parameter. If the callback returns 1, the blocking operation will be
 aborted.").

 Actually all the details and code are supplied by Marlon above.

 Thank you in advance.

--
Ticket URL: <https://trac.ffmpeg.org/ticket/5615#comment:4>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list