diff utils.c @ 1139:6842feb093c1 libavcodec

rawvideo patch by (Fred Rothganger <rothgang at uiuc dot edu>)
author michaelni
date Sun, 16 Mar 2003 21:03:20 +0000
parents e10e841c9bf0
children dde68a430ba9
line wrap: on
line diff
--- a/utils.c	Sun Mar 16 20:22:22 2003 +0000
+++ b/utils.c	Sun Mar 16 21:03:20 2003 +0000
@@ -647,32 +647,3 @@
 
     return ((h/c)<<32) + l/c;
 }
-
-static int raw_encode_init(AVCodecContext *s)
-{
-    return 0;
-}
-
-static int raw_decode_frame(AVCodecContext *avctx,
-			    void *data, int *data_size,
-			    uint8_t *buf, int buf_size)
-{
-    return -1;
-}
-
-static int raw_encode_frame(AVCodecContext *avctx,
-			    unsigned char *frame, int buf_size, void *data)
-{
-    return -1;
-}
-
-AVCodec rawvideo_codec = {
-    "rawvideo",
-    CODEC_TYPE_VIDEO,
-    CODEC_ID_RAWVIDEO,
-    0,
-    raw_encode_init,
-    raw_encode_frame,
-    NULL,
-    raw_decode_frame,
-};