Mercurial > libavformat.hg
diff dv.h @ 296:252946de6d3f libavformat
* DV demuxer is now capable of decoding auxilary audio stream. So,
everybody who still uses second streo track for dubbing can
now export it.
* void* -> DVDemuxContext* change (per Fabrice's suggestion).
* -dv1394 capture now works in all modes.
author | romansh |
---|---|
date | Fri, 31 Oct 2003 22:26:26 +0000 |
parents | f174d9c00bce |
children | bf3231dd1d7c |
line wrap: on
line diff
--- a/dv.h Thu Oct 30 05:40:58 2003 +0000 +++ b/dv.h Fri Oct 31 22:26:26 2003 +0000 @@ -22,11 +22,13 @@ * License along with this library; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ - -void* dv_init_demux(AVFormatContext *s, int vid, int aid); -int dv_get_packet(void*, AVPacket *); -int dv_produce_packet(void*, AVPacket*, uint8_t*, int); -void* dv_init_mux(AVFormatContext* s); -int dv_assemble_frame(void *c, AVStream*, const uint8_t*, int, uint8_t**); -void dv_delete_mux(void*); +typedef struct DVDemuxContext DVDemuxContext; +DVDemuxContext* dv_init_demux(AVFormatContext* s); +int dv_get_packet(DVDemuxContext*, AVPacket *); +int dv_produce_packet(DVDemuxContext*, AVPacket*, uint8_t*, int); + +typedef struct DVMuxContext DVMuxContext; +DVMuxContext* dv_init_mux(AVFormatContext* s); +int dv_assemble_frame(DVMuxContext *c, AVStream*, const uint8_t*, int, uint8_t**); +void dv_delete_mux(DVMuxContext*);