OSDN Git Service

ffmdec: only seek back at EOF if a server is attached
authorAndreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
Wed, 2 Dec 2015 21:25:55 +0000 (22:25 +0100)
committerAndreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
Fri, 4 Dec 2015 14:20:04 +0000 (15:20 +0100)
commit488e9a06f014222720deafc48f43d9bd1973ba97
tree774857fa99faef5318edb380998f3b7eefffada0
parent3c4e49187f836c3613dc27c2c6a0d14c2d12bea8
ffmdec: only seek back at EOF if a server is attached

Otherwise the ffm demuxer can return the same packets endlessly, if
there is no server attached.

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