diff options
author | Ronald Bultje <rsbultje@gmail.com> | 2012-03-31 17:10:54 +0000 |
---|---|---|
committer | Justin Ruggles <justin.ruggles@gmail.com> | 2012-04-11 16:30:41 -0400 |
commit | 992f71e95dcf57c917531f126ba7499ef9ed87d3 (patch) | |
tree | 86b87901df13fd4a3df9eb668079e92653c4f28e /libavcodec/msrledec.h | |
parent | 729f90e26802057f06905ab15a34612168eeac80 (diff) | |
download | ffmpeg-992f71e95dcf57c917531f126ba7499ef9ed87d3.tar.gz |
msrle: convert MS RLE decoding function to bytestream2.
Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com>
Diffstat (limited to 'libavcodec/msrledec.h')
-rw-r--r-- | libavcodec/msrledec.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libavcodec/msrledec.h b/libavcodec/msrledec.h index ca5d936977..a594de37be 100644 --- a/libavcodec/msrledec.h +++ b/libavcodec/msrledec.h @@ -23,6 +23,7 @@ #define AVCODEC_MSRLEDEC_H #include "avcodec.h" +#include "bytestream.h" /** * Decode stream in MS RLE format into frame. @@ -30,10 +31,9 @@ * @param avctx codec context * @param pic destination frame * @param depth bit depth - * @param data input stream - * @param data_size input size + * @param gb input bytestream context */ -int ff_msrle_decode(AVCodecContext *avctx, AVPicture *pic, int depth, - const uint8_t* data, int data_size); +int ff_msrle_decode(AVCodecContext *avctx, AVPicture *pic, + int depth, GetByteContext *gb); #endif /* AVCODEC_MSRLEDEC_H */ |