History

avcodec: Remove deprecated AVCodecContext.coded_frame

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.)

Andreas Rheinhardt committed 5 years ago

Commit 11bc7901 parent 95054bf42 files · +1 −407Browse files

Showing the changes to libavcodec/avcodec.c (1 of 42 files). Show all

Unified · Split

libavcodec/avcodec.c+0−10
@@ -400,11 +400,6 @@ free_and_end: · 399 unmodified lines
400400 av_opt_free(avctx);
401401
402402 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
408403 av_freep(&avctx->extradata);
409404 avctx->extradata_size = 0;
410405 }
@@ -578,11 +573,6 @@ av_cold int avcodec_close(AVCodecContext *avctx) · 167 unmodified lines
578573 av_freep(&avctx->priv_data);
579574 if (av_codec_is_encoder(avctx->codec)) {
580575 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
586576 } else if (av_codec_is_decoder(avctx->codec))
587577 av_freep(&avctx->subtitle_header);
588578

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t