OSDN Git Service

avformat: disable seeking on FIFOs/named pipes
authorMartin Sliwka <martin.sliwka@gmail.com>
Thu, 28 Jun 2012 17:31:04 +0000 (19:31 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Fri, 29 Jun 2012 12:54:15 +0000 (14:54 +0200)
commitdf531b0e1004cdc76e656465d84ede7cfd9e370a
tree310cd663cf50ab7d090ab47aba84cda2c048f508
parent6851130fd61ff8af615f6270f3a3c8dec7a0cfbd
avformat: disable seeking on FIFOs/named pipes

Patch is addition to my previous patch
(https://lists.ffmpeg.org/pipermail/ffmpeg-cvslog/2012-June/051590.html)
and disables seeking on FIFOs/named pipes by setting
URLContext::is_streamed (same as pipe: protocol does for stdin/stdout pipes)

Fixes Ticket986

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