Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2021-02-08 14:05:55 +0300
committerAnton Khirnov <anton@khirnov.net>2021-02-22 13:14:17 +0300
commit04f49645a519233f3638104e0df5215758652fcb (patch)
treedad9d6c1f306df22495422756f8e8263da92f8e5 /fftools
parentcb789fd2b34864df30bc4b664cfee632dca0a1e4 (diff)
ffprobe: drop code accessing deprecated AVStream.codec
Diffstat (limited to 'fftools')
-rw-r--r--fftools/ffprobe.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/fftools/ffprobe.c b/fftools/ffprobe.c
index f7d042525e..83c036dd3f 100644
--- a/fftools/ffprobe.c
+++ b/fftools/ffprobe.c
@@ -3050,11 +3050,6 @@ static int open_input_file(InputFile *ifile, const char *filename,
ist->dec_ctx->pkt_timebase = stream->time_base;
ist->dec_ctx->framerate = stream->avg_frame_rate;
-#if FF_API_LAVF_AVCTX
- ist->dec_ctx->properties = stream->codec->properties;
- ist->dec_ctx->coded_width = stream->codec->coded_width;
- ist->dec_ctx->coded_height = stream->codec->coded_height;
-#endif
if (avcodec_open2(ist->dec_ctx, codec, &opts) < 0) {
av_log(NULL, AV_LOG_WARNING, "Could not open codec for input stream %d\n",