[FFmpeg-devel] [PATCH] wtvenc: test avio_size() validity

Michael Niedermayer michaelni at gmx.at
Mon Dec 23 14:22:16 CET 2013


On Mon, Dec 23, 2013 at 09:04:45PM +1100, Peter Ross wrote:
> ---
> On Sun, Dec 22, 2013 at 08:10:54AM +0100, Reimar Döffinger wrote:
> > On 21.12.2013, at 09:42, Peter Ross <pross at xvid.org> wrote:
> > > Previously the demuxer was testing against avio_tell, and this would generate
> > > many false warnings.
> > 
> > Do we support streaming (or otherwise non-seekable) wtv files?
> 
> Not currently. The filesystem-like nature of wtv means that (lots of) seeking is almost always
> required. It is theorectically to craft a file that does require seeking.
> 
> > I suspect not, but to be correct for that case it would need to check that avio_size is valid first...
> 
> I agree.
> 
>  libavformat/wtvdec.c | 4 +++-
>  1 file changed, 3 insertions(+), 1 deletion(-)

applied

thx

[...]

-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

In a rich man's house there is no place to spit but his face.
-- Diogenes of Sinope
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20131223/dea00481/attachment.asc>


More information about the ffmpeg-devel mailing list