diff options
Diffstat (limited to 'libavcodec/xbmenc.c')
-rw-r--r-- | libavcodec/xbmenc.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libavcodec/xbmenc.c b/libavcodec/xbmenc.c index 41456cb..4840050 100644 --- a/libavcodec/xbmenc.c +++ b/libavcodec/xbmenc.c @@ -26,7 +26,11 @@ static av_cold int xbm_encode_init(AVCodecContext *avctx) { +#if FF_API_CODED_FRAME +FF_DISABLE_DEPRECATION_WARNINGS avctx->coded_frame->pict_type = AV_PICTURE_TYPE_I; +FF_ENABLE_DEPRECATION_WARNINGS +#endif return 0; } |