aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/utils.c
diff options
context:
space:
mode:
authorFred Rothganger <rothgang@uiuc.edu>2003-03-16 21:03:20 +0000
committerMichael Niedermayer <michaelni@gmx.at>2003-03-16 21:03:20 +0000
commite8750b00764f5148cd93f466f9e832eb8589aba7 (patch)
tree57e0854dac6635b5a89f4cdfe035f12282352ca6 /libavcodec/utils.c
parentb536d0aad2750d3a5f24520fccf1e48a46cad53b (diff)
downloadffmpeg-e8750b00764f5148cd93f466f9e832eb8589aba7.tar.gz
rawvideo patch by (Fred Rothganger <rothgang at uiuc dot edu>)
Originally committed as revision 1687 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/utils.c')
-rw-r--r--libavcodec/utils.c29
1 files changed, 0 insertions, 29 deletions
diff --git a/libavcodec/utils.c b/libavcodec/utils.c
index a8577be086..d0fae978ca 100644
--- a/libavcodec/utils.c
+++ b/libavcodec/utils.c
@@ -647,32 +647,3 @@ int64_t av_rescale(int64_t a, int b, int c){
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,
-};