aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/dv.h
diff options
context:
space:
mode:
authorRoman Shaposhnik <roman@shaposhnik.org>2003-10-31 22:26:26 +0000
committerRoman Shaposhnik <roman@shaposhnik.org>2003-10-31 22:26:26 +0000
commitddaae6a9d1ea69b55b842b65e5c664b1e6d15e13 (patch)
treed239d8ef3b625cac08f0f8166ec65fe25b2e4b2d /libavformat/dv.h
parent99614dd4e924c1083fdf35f49b1da95971dc416f (diff)
downloadffmpeg-ddaae6a9d1ea69b55b842b65e5c664b1e6d15e13.tar.gz
* 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. Originally committed as revision 2458 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/dv.h')
-rw-r--r--libavformat/dv.h16
1 files changed, 9 insertions, 7 deletions
diff --git a/libavformat/dv.h b/libavformat/dv.h
index 726d175d9d..03239deafe 100644
--- a/libavformat/dv.h
+++ b/libavformat/dv.h
@@ -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*);