[NUT-devel] [nut]: r210 - in trunk/libnut: demuxer.c libnut.h

ods15 subversion at mplayerhq.hu
Wed Nov 15 12:35:58 CET 2006


Author: ods15
Date: Wed Nov 15 12:35:57 2006
New Revision: 210

Modified:
   trunk/libnut/demuxer.c
   trunk/libnut/libnut.h

Log:
remove nut_skip_packet(), nut_read_info(), and nut_free_info()


Modified: trunk/libnut/demuxer.c
==============================================================================
--- trunk/libnut/demuxer.c	(original)
+++ trunk/libnut/demuxer.c	Wed Nov 15 12:35:57 2006
@@ -949,20 +949,6 @@
 	return 0;
 }
 
-int nut_skip_packet(nut_context_t * nut, int * len) {
-	// FIXME or fseek
-	uint8_t tmp[*len];
-	return nut_read_frame(nut, len, tmp);
-}
-
-int nut_read_info(nut_context_t * nut, nut_info_packet_t * info []) {
-	return 0;
-}
-
-void nut_free_info(nut_info_packet_t info []) {
-	// FIXME ...
-}
-
 static int find_basic_syncpoints(nut_context_t * nut) {
 	int i, err = 0;
 	syncpoint_list_t * sl = &nut->syncpoints;

Modified: trunk/libnut/libnut.h
==============================================================================
--- trunk/libnut/libnut.h	(original)
+++ trunk/libnut/libnut.h	Wed Nov 15 12:35:57 2006
@@ -163,8 +163,6 @@
 /** Gives information on next frame, must be called before each packet. */
 int nut_read_next_packet(nut_context_t * nut, nut_packet_t * pd);
 
-int nut_skip_packet(nut_context_t * nut, int * len);
-
 /** Just reads the frame DATA. all it's header has already been
 read by nut_read_next_packet. buf must be allocated and big enough.
 len will be non-zero in the case of EAGAIN or EOF



More information about the NUT-devel mailing list