Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Steve Lhomme
VLC
Commits
245a23e0
Commit
245a23e0
authored
Aug 24, 2003
by
Laurent Aimar
Browse files
* asf: detect dump of broadcasted asf stream.
parent
1e8f8d5c
Changes
1
Hide whitespace changes
Inline
Side-by-side
modules/demux/asf/libasf.c
View file @
245a23e0
...
...
@@ -2,7 +2,7 @@
* libasf.c :
*****************************************************************************
* Copyright (C) 2001 VideoLAN
* $Id: libasf.c,v 1.1
6
2003/08/2
2 20:32
:27 fenrir Exp $
* $Id: libasf.c,v 1.1
7
2003/08/2
4 15:05
:27 fenrir Exp $
* Authors: Laurent Aimar <fenrir@via.ecp.fr>
*
* This program is free software; you can redistribute it and/or modify
...
...
@@ -754,6 +754,12 @@ asf_object_root_t *ASF_ReadObjectRoot( stream_t *s, int b_seekable )
msg_Warn
(
(
vlc_object_t
*
)
s
,
"Unknow Object found"
);
break
;
}
if
(
p_obj
->
common
.
i_type
==
ASF_OBJECT_TYPE_DATA
&&
p_obj
->
common
.
i_object_size
<=
50
)
{
/* probably a dump of broadcasted asf */
break
;
}
if
(
!
b_seekable
&&
p_root
->
p_hdr
&&
p_root
->
p_data
)
{
/* For unseekable stream it's enouth to play */
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment