diff options
author | Zdenek Kabelac <kabi@informatics.muni.cz> | 2003-03-12 19:49:58 +0000 |
---|---|---|
committer | Zdenek Kabelac <kabi@informatics.muni.cz> | 2003-03-12 19:49:58 +0000 |
commit | 5d4ce4574b36cd9a6b32de8773c9451627b37d04 (patch) | |
tree | 91985209da90f869ad8565038419a9751fa1f1a6 /libavcodec/huffyuv.c | |
parent | 59e0ac8ea5c73d8bc55e17e046de3510da916242 (diff) | |
download | ffmpeg-5d4ce4574b36cd9a6b32de8773c9451627b37d04.tar.gz |
* added more options
Originally committed as revision 1675 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/huffyuv.c')
-rw-r--r-- | libavcodec/huffyuv.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/libavcodec/huffyuv.c b/libavcodec/huffyuv.c index 7823f0bf1c..ecf22bb2c6 100644 --- a/libavcodec/huffyuv.c +++ b/libavcodec/huffyuv.c @@ -1132,6 +1132,12 @@ static int encode_end(AVCodecContext *avctx) return 0; } +static const AVOption huffyuv_options[] = +{ + AVOPTION_CODEC_INT("prediction_method", "prediction_method", prediction_method, 0, 2, 0), + AVOPTION_END() +}; + AVCodec huffyuv_decoder = { "huffyuv", CODEC_TYPE_VIDEO, @@ -1153,4 +1159,5 @@ AVCodec huffyuv_encoder = { encode_init, encode_frame, encode_end, + .options = huffyuv_options, }; |