aboutsummaryrefslogtreecommitdiffhomepage
path: root/demux/demux.h
diff options
context:
space:
mode:
authorGravatar wm4 <wm4@nowhere>2016-08-06 15:50:46 +0200
committerGravatar wm4 <wm4@nowhere>2016-08-06 17:48:45 +0200
commit7fd3dbcd526b22e6487b885d07498d7c80302c29 (patch)
tree5cf31a1969a4c89e4505d45a6cf42e6a679fc230 /demux/demux.h
parentd41f0a54b07d855227b63a6b2c4e92794ff7b86f (diff)
demux: fix a minor race condition
If the packet read function returns, and EOF was detected, and a seek was issued in the meantime, then don't use the EOF result. The seek will be processed later, and reset the EOF state anyway. The main effect is probably that we don't return EOF to the decoders (which the playback core resets before issuing the seek), and that we won't log an EOF message. Not important, but slightly more correct.
Diffstat (limited to 'demux/demux.h')
0 files changed, 0 insertions, 0 deletions