udp: fix compilation when HAVE_PTHREAD_CANCEL isnt defined
authorMichael Niedermayer <michaelni@gmx.at>
Fri, 20 Jul 2012 12:58:11 +0000 (14:58 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Fri, 20 Jul 2012 12:58:11 +0000 (14:58 +0200)
commita4f94f24b4f153c30bbcaa700bedfb2b3a581e5e
tree338a400a376fcb0ff951fe0006f085f3c1952921
parent7c6ebe2b97a6e05f07b766801c6f9ae52e0d9f70
udp: fix compilation when HAVE_PTHREAD_CANCEL isnt defined

This happens with for example mplayer.
Fixing it in ffmpeg allows new ffmpeg to be compiled with older mplayer
which would not be possible if the fix was just in mplayer.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavformat/udp.c