changeset 724:caa4c757a47d libavcodec

added DV support
author bellard
date Fri, 04 Oct 2002 07:16:50 +0000
parents 50f7e3bef20f
children eac6c71ef30f
files Makefile allcodecs.c avcodec.h
diffstat 3 files changed, 7 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/Makefile	Thu Oct 03 21:07:39 2002 +0000
+++ b/Makefile	Fri Oct 04 07:16:50 2002 +0000
@@ -15,7 +15,7 @@
       mpegaudio.o ac3enc.o mjpeg.o resample.o dsputil.o \
       motion_est.o imgconvert.o imgresample.o msmpeg4.o \
       mpeg12.o h263dec.o svq1.o rv10.o mpegaudiodec.o pcm.o simple_idct.o \
-      ratecontrol.o adpcm.o eval.o
+      ratecontrol.o adpcm.o eval.o dv.o
 ASM_OBJS=
 
 # currently using liba52 for ac3 decoding
--- a/allcodecs.c	Thu Oct 03 21:07:39 2002 +0000
+++ b/allcodecs.c	Fri Oct 04 07:16:50 2002 +0000
@@ -69,6 +69,8 @@
     register_avcodec(&h263i_decoder);
     register_avcodec(&rv10_decoder);
     register_avcodec(&svq1_decoder);
+    register_avcodec(&dvvideo_decoder);
+    //    register_avcodec(&dvaudio_decoder);
     register_avcodec(&mjpeg_decoder);
     register_avcodec(&mp2_decoder);
     register_avcodec(&mp3_decoder);
--- a/avcodec.h	Thu Oct 03 21:07:39 2002 +0000
+++ b/avcodec.h	Fri Oct 04 07:16:50 2002 +0000
@@ -28,6 +28,8 @@
     CODEC_ID_H263P,
     CODEC_ID_H263I,
     CODEC_ID_SVQ1,
+    CODEC_ID_DVVIDEO,
+    CODEC_ID_DVAUDIO,
 
     /* various pcm "codecs" */
     CODEC_ID_PCM_S16LE,
@@ -812,6 +814,8 @@
 extern AVCodec h263i_decoder;
 extern AVCodec rv10_decoder;
 extern AVCodec svq1_decoder;
+extern AVCodec dvvideo_decoder;
+extern AVCodec dvaudio_decoder;
 extern AVCodec mjpeg_decoder;
 extern AVCodec mp2_decoder;
 extern AVCodec mp3_decoder;