summaryrefslogtreecommitdiff
path: root/libavcodec/msrledec.h
diff options
context:
space:
mode:
authorVittorio Giovara <vittorio.giovara@gmail.com>2015-10-14 11:33:18 +0200
committerVittorio Giovara <vittorio.giovara@gmail.com>2015-10-21 11:51:07 +0200
commit3496cec43304ac040d6d05f9d500a6f93cc049e7 (patch)
treeb71dbc023a212e2b5c640ae2a1d25ade9d690047 /libavcodec/msrledec.h
parentac981d16415e7fd99683e10297781c7d9ec1a8cd (diff)
msrle: Use AVFrame instead of AVPicture
Callers always use a frame and cast it to AVPicture, change ff_msrle_decode() to accept an AVFrame directly instead. Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
Diffstat (limited to 'libavcodec/msrledec.h')
-rw-r--r--libavcodec/msrledec.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/msrledec.h b/libavcodec/msrledec.h
index a594de37be..0c5b8b1c57 100644
--- a/libavcodec/msrledec.h
+++ b/libavcodec/msrledec.h
@@ -33,7 +33,7 @@
* @param depth bit depth
* @param gb input bytestream context
*/
-int ff_msrle_decode(AVCodecContext *avctx, AVPicture *pic,
+int ff_msrle_decode(AVCodecContext *avctx, AVFrame *pic,
int depth, GetByteContext *gb);
#endif /* AVCODEC_MSRLEDEC_H */