Deprecated in 40cf1bbacc6220a0aa6bed5c331871d43f9ce370. (The currently disabled filter vf_mcdeint and vf_uspp were users of this field; they have not been changed, so that whoever wants to fix them can see the state of these filters when they were disabled.)
Showing the changes to libavcodec/avcodec.c (1 of 42 files). Show all
Unified · Split
| @@ -400,11 +400,6 @@ free_and_end: · 399 unmodified lines | |||
| 400 | av_opt_free(avctx); | 400 | av_opt_free(avctx); |
| 401 | 401 | ||
| 402 | if (av_codec_is_encoder(avctx->codec)) { | 402 | if (av_codec_is_encoder(avctx->codec)) { |
| 403 | #if FF_API_CODED_FRAME | ||
| 404 | FF_DISABLE_DEPRECATION_WARNINGS | ||
| 405 | av_frame_free(&avctx->coded_frame); | ||
| 406 | FF_ENABLE_DEPRECATION_WARNINGS | ||
| 407 | #endif | ||
| 408 | av_freep(&avctx->extradata); | 403 | av_freep(&avctx->extradata); |
| 409 | avctx->extradata_size = 0; | 404 | avctx->extradata_size = 0; |
| 410 | } | 405 | } |
| @@ -578,11 +573,6 @@ av_cold int avcodec_close(AVCodecContext *avctx) · 167 unmodified lines | |||
| 578 | av_freep(&avctx->priv_data); | 573 | av_freep(&avctx->priv_data); |
| 579 | if (av_codec_is_encoder(avctx->codec)) { | 574 | if (av_codec_is_encoder(avctx->codec)) { |
| 580 | av_freep(&avctx->extradata); | 575 | av_freep(&avctx->extradata); |
| 581 | #if FF_API_CODED_FRAME | ||
| 582 | FF_DISABLE_DEPRECATION_WARNINGS | ||
| 583 | av_frame_free(&avctx->coded_frame); | ||
| 584 | FF_ENABLE_DEPRECATION_WARNINGS | ||
| 585 | #endif | ||
| 586 | } else if (av_codec_is_decoder(avctx->codec)) | 576 | } else if (av_codec_is_decoder(avctx->codec)) |
| 587 | av_freep(&avctx->subtitle_header); | 577 | av_freep(&avctx->subtitle_header); |
| 588 | 578 | ||