[FFmpeg-trac] #5824(avformat:closed): FFmpeg 3.1.3 av_read_frame returning -104 ECONNRESET

FFmpeg trac at avcodec.org
Wed Sep 7 15:25:39 EEST 2016

#5824: FFmpeg 3.1.3 av_read_frame returning -104 ECONNRESET
             Reporter:  Hapie       |                    Owner:
                 Type:  defect      |                   Status:  closed
             Priority:  normal      |                Component:  avformat
              Version:  git-master  |               Resolution:  worksforme
             Keywords:              |               Blocked By:
             Blocking:              |  Reproduced by developer:  0
Analyzed by developer:  0           |

Comment (by Hapie):

 I have attached the sample c code which is replicating the 104 behaviour.
 What is found out is if we call `shutdown(socket, 2)` without
 `close(socket)` function afterwards then recv throws 104.

 Maybe these points will help. Tested code on Linux machine.

Ticket URL: <https://trac.ffmpeg.org/ticket/5824#comment:8>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker

More information about the FFmpeg-trac mailing list