rawvideo patch by (Fred Rothganger <rothgang at uiuc dot edu>)

Originally committed as revision 1687 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Fred Rothganger
2003-03-16 21:03:20 +00:00
committed by Michael Niedermayer
parent b536d0aad2
commit e8750b0076
7 changed files with 224 additions and 152 deletions

View File

@@ -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,
};