[FFmpeg-devel] void *opaque

ffmpeg dev ffmpeg1
Mon Jul 2 19:48:33 CEST 2007

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

 Ne gardez plus qu'une seule adresse mail ! Copiez vos mails vers Yahoo! Mail 

More information about the ffmpeg-devel mailing list