diff options
author | Hendrik Leppkes <h.leppkes@gmail.com> | 2012-10-20 06:43:48 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2012-10-20 18:00:13 +0200 |
commit | 79393a8363d6bb9920754247df00f1b5259e6efd (patch) | |
tree | a8991d78db0652fc3b004ade2f3c3a0365f9fda3 /libavcodec/libstagefright.cpp | |
parent | 2c5b92fe90463402be6bf611ef40195f86f434fd (diff) | |
download | ffmpeg-79393a8363d6bb9920754247df00f1b5259e6efd.tar.gz |
Replace usage of the deprecated av_pix_fmt_descriptors array with av_pix_fmt_desc_get
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/libstagefright.cpp')
-rw-r--r-- | libavcodec/libstagefright.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/libstagefright.cpp b/libavcodec/libstagefright.cpp index 3c1852715a..f741df94f8 100644 --- a/libavcodec/libstagefright.cpp +++ b/libavcodec/libstagefright.cpp @@ -153,7 +153,7 @@ void* decode_thread(void *arg) { AVCodecContext *avctx = (AVCodecContext*)arg; StagefrightContext *s = (StagefrightContext*)avctx->priv_data; - const AVPixFmtDescriptor *pix_desc = &av_pix_fmt_descriptors[avctx->pix_fmt]; + const AVPixFmtDescriptor *pix_desc = av_pix_fmt_desc_get(avctx->pix_fmt); Frame* frame; MediaBuffer *buffer; int32_t w, h; |