Mercurial > libavcodec.hg
diff huffyuv.c @ 2552:9a7770ebed14 libavcodec
AVOption removial patch from (James A. Morrison >ja2morri csclub.uwaterloo ca>)
with minor changes from me
author | michael |
---|---|
date | Sun, 06 Mar 2005 23:20:53 +0000 |
parents | d3885f927bc7 |
children | 511e3afc43e1 |
line wrap: on
line diff
--- a/huffyuv.c Sun Mar 06 23:02:25 2005 +0000 +++ b/huffyuv.c Sun Mar 06 23:20:53 2005 +0000 @@ -1219,20 +1219,6 @@ return 0; } -static const AVOption huffyuv_options[] = -{ - AVOPTION_CODEC_INT("prediction_method", "prediction_method", prediction_method, 0, 2, 0), - AVOPTION_END() -}; - -static const AVOption ffvhuff_options[] = -{ - AVOPTION_CODEC_INT("prediction_method", "prediction_method", prediction_method, 0, 2, 0), - AVOPTION_CODEC_INT("context_model", "context_model", context_model, 0, 2, 0), - AVOPTION_END() -}; - - AVCodec huffyuv_decoder = { "huffyuv", CODEC_TYPE_VIDEO, @@ -1269,7 +1255,6 @@ encode_init, encode_frame, encode_end, - .options = huffyuv_options, }; AVCodec ffvhuff_encoder = { @@ -1280,7 +1265,6 @@ encode_init, encode_frame, encode_end, - .options = ffvhuff_options, }; #endif //CONFIG_ENCODERS