[FFmpeg-devel] RE : void *opaque
ffmpeg dev
ffmpeg1
Tue Jul 3 08:40:34 CEST 2007
i think that the file name is refered by unsigned char * buffer. am i right?
ffmpeg dev <ffmpeg1 at yahoo.fr> a ?crit : hello; i want to know what does void*opaque refer to in the ByteIOContext structure.does it refer to the filename?can i use it like this char*filename=(char*)opaque?
struct ByteIOContext {
unsigned char * buffer int buffer_size unsigned char * buf_ptr unsigned char * buf_end void * opaque int(* read_packet )(void *opaque, uint8_t *buf, int buf_size) int(* write_packet )(void *opaque, uint8_t *buf, int buf_size) offset_t(* seek )(void *opaque, offset_t offset, int whence) offset_t pos int must_flush int eof_reached int write_flag int is_streamed int max_packet_size unsigned long checksum unsigned char * checksum_ptr unsigned long(* update_checksum )(unsigned long checksum, const uint8_t *buf, unsigned int size) int error
};
thanks
---------------------------------
Ne gardez plus qu'une seule adresse mail ! Copiez vos mails vers Yahoo! Mail
_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel at mplayerhq.hu
http://lists.mplayerhq.hu/mailman/listinfo/ffmpeg-devel
---------------------------------
Ne gardez plus qu'une seule adresse mail ! Copiez vos mails vers Yahoo! Mail
More information about the ffmpeg-devel
mailing list