X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavcodec%2Fsgienc.c;h=d31f6340f746bf35cd218a998c864951ad0563f4;hb=11bc79089378a5ec00547d0f85bc152afdf30dfa;hp=2a898f5a4ffaae671c2f4b55ecc93acb794c4667;hpb=95054bfa48cc71db1c7bf66a6b6628cb62f262bf;p=ffmpeg diff --git a/libavcodec/sgienc.c b/libavcodec/sgienc.c index 2a898f5a4ff..d31f6340f74 100644 --- a/libavcodec/sgienc.c +++ b/libavcodec/sgienc.c @@ -100,13 +100,6 @@ static int encode_frame(AVCodecContext *avctx, AVPacket *pkt, unsigned int width, height, depth, dimension; unsigned int bytes_per_channel, pixmax, put_be; -#if FF_API_CODED_FRAME -FF_DISABLE_DEPRECATION_WARNINGS - avctx->coded_frame->pict_type = AV_PICTURE_TYPE_I; - avctx->coded_frame->key_frame = 1; -FF_ENABLE_DEPRECATION_WARNINGS -#endif - width = avctx->width; height = avctx->height; bytes_per_channel = 1;