diff options
Diffstat (limited to 'libavcodec/libstagefright.cpp')
-rw-r--r-- | libavcodec/libstagefright.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libavcodec/libstagefright.cpp b/libavcodec/libstagefright.cpp index cdea8e41e7..3c1852715a 100644 --- a/libavcodec/libstagefright.cpp +++ b/libavcodec/libstagefright.cpp @@ -325,13 +325,13 @@ static av_cold int Stagefright_init(AVCodecContext *avctx) outFormat->findInt32(kKeyColorFormat, &colorFormat); if (colorFormat == OMX_QCOM_COLOR_FormatYVU420SemiPlanar || colorFormat == OMX_COLOR_FormatYUV420SemiPlanar) - avctx->pix_fmt = PIX_FMT_NV21; + avctx->pix_fmt = AV_PIX_FMT_NV21; else if (colorFormat == OMX_COLOR_FormatYCbYCr) - avctx->pix_fmt = PIX_FMT_YUYV422; + avctx->pix_fmt = AV_PIX_FMT_YUYV422; else if (colorFormat == OMX_COLOR_FormatCbYCrY) - avctx->pix_fmt = PIX_FMT_UYVY422; + avctx->pix_fmt = AV_PIX_FMT_UYVY422; else - avctx->pix_fmt = PIX_FMT_YUV420P; + avctx->pix_fmt = AV_PIX_FMT_YUV420P; outFormat->findCString(kKeyDecoderComponent, &s->decoder_component); if (s->decoder_component) |