/* Encoding development sponsored by http://fh-campuswien.ac.at */
/**
- * @file libavcodec/flashsvenc.c
+ * @file
* Flash Screen Video encoder
* @author Alex Beregszaszi
* @author Benjamin Larsson
return -1;
}
- if (avcodec_check_dimensions(avctx, avctx->width, avctx->height) < 0) {
- return -1;
- }
-
// Needed if zlib unused or init aborted before deflateInit
memset(&(s->zstream), 0, sizeof(z_stream));
AVCodec flashsv_encoder = {
"flashsv",
- CODEC_TYPE_VIDEO,
+ AVMEDIA_TYPE_VIDEO,
CODEC_ID_FLASHSV,
sizeof(FlashSVContext),
flashsv_encode_init,