[FFmpeg-devel] [PATCH 2/2] Use AVERROR_EXIT with url_interrupt_cb.
Michael Niedermayer
michaelni
Sun Mar 13 01:02:06 CET 2011
On Sun, Mar 13, 2011 at 12:42:27AM +0100, Nicolas George wrote:
> Functions interrupted by url_interrupt_cb should not be restarted.
> Therefore using AVERROR(EINTR) was wrong, as it did not allow to distinguish
> when the underlying system call was interrupted and actually needed to be
> restarted.
>
> This fixes roundup issues 2657 and 2659 (ffplay not exiting for streamed
> content).
>
> Signed-off-by: Nicolas George <nicolas.george at normalesup.org>
> ---
> libavformat/applehttp.c | 2 +-
> libavformat/applehttpproto.c | 4 ++--
> libavformat/avio.c | 2 +-
> libavformat/avio.h | 2 +-
> libavformat/rtpproto.c | 2 +-
> libavformat/rtsp.c | 2 +-
> libavformat/tcp.c | 6 ++++--
> libavformat/udp.c | 2 +-
> libavformat/utils.c | 2 +-
> 9 files changed, 13 insertions(+), 11 deletions(-)
applied
[...]
--
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
The educated differ from the uneducated as much as the living from the
dead. -- Aristotle
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20110313/10c05a13/attachment.pgp>
More information about the ffmpeg-devel
mailing list