Replace usage of the deprecated av_pix_fmt_descriptors array with av_pix_fmt_desc_get
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:

committed by
Michael Niedermayer

parent
2c5b92fe90
commit
79393a8363
@@ -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;
|
||||
|
Reference in New Issue
Block a user