[vlc-commits] asf: remove not so good example code
Rémi Denis-Courmont
git at videolan.org
Sat Nov 11 15:37:04 CET 2017
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sat Nov 11 16:35:05 2017 +0200| [367795fba5a3fb9fb0e0d9f5fb6c2f89f563d427] | committer: Rémi Denis-Courmont
asf: remove not so good example code
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=367795fba5a3fb9fb0e0d9f5fb6c2f89f563d427
---
modules/demux/asf/libasf.c | 28 ----------------------------
1 file changed, 28 deletions(-)
diff --git a/modules/demux/asf/libasf.c b/modules/demux/asf/libasf.c
index b115ddb84f..6d4bfcfc8e 100644
--- a/modules/demux/asf/libasf.c
+++ b/modules/demux/asf/libasf.c
@@ -1379,34 +1379,6 @@ static int ASF_ReadObject_Raw(stream_t *s, asf_object_t *p_obj)
return VLC_SUCCESS;
}
-#if 0
-static int ASF_ReadObject_XXX(stream_t *s, asf_object_t *p_obj)
-{
- asf_object_XXX_t *p_XX =
- (asf_object_XXX_t *)p_obj;
- const uint8_t *p_peek;
- uint8_t *p_data;
- ssize_t i_peek;
-
- if( ( i_peek = vlc_stream_Peek( s, &p_peek, p_XX->i_object_size ) ) < XXX )
- return VLC_EGENERIC;
-
- p_data = &p_peek[ASF_OBJECT_COMMON_SIZE];
-
-#ifdef ASF_DEBUG
- msg_Dbg( s,
- "Read \"XXX object\"" );
-#endif
- return VLC_SUCCESS;
-}
-static void ASF_FreeObject_XXX( asf_object_t *p_obj)
-{
- asf_object_XXX_t *p_XX =
- (asf_object_XXX_t *)p_obj;
-}
-#endif
-
-
/* */
static const struct ASF_Object_Function_entry
{
More information about the vlc-commits
mailing list