avformat/ffmdec: Only return EAGAIN if a server is attached
authorMichael Niedermayer <michael@niedermayer.cc>
Fri, 20 Nov 2015 02:10:11 +0000 (03:10 +0100)
committerMichael Niedermayer <michael@niedermayer.cc>
Fri, 20 Nov 2015 19:08:26 +0000 (20:08 +0100)
commit9b7d39de81cebb689404cd362ed365aa6d451050
tree083dcec77bb52fb658d4ad9a65b0e6280c2ea7eb
parente33d3720239314d28a48c64c1071ba9c048280d1
avformat/ffmdec: Only return EAGAIN if a server is attached

This should fix a infinite loop

Reviewed-by: Andreas Cadhalpun <andreas.cadhalpun@googlemail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavformat/ffmdec.c