From 992f71e95dcf57c917531f126ba7499ef9ed87d3 Mon Sep 17 00:00:00 2001 From: Ronald Bultje Date: Sat, 31 Mar 2012 17:10:54 +0000 Subject: msrle: convert MS RLE decoding function to bytestream2. Signed-off-by: Justin Ruggles --- libavcodec/msrledec.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'libavcodec/msrledec.h') 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 */ -- cgit v1.2.3