diff options
author | James Almer <jamrial@gmail.com> | 2018-02-02 17:51:24 -0300 |
---|---|---|
committer | James Almer <jamrial@gmail.com> | 2018-02-02 17:51:24 -0300 |
commit | 94eb5505ad7b061e17e1c338f04bec0d05e10ca0 (patch) | |
tree | bf505b086c0add110b9056bcff52c36b84780c0d /fftools/ffprobe.c | |
parent | 19b1d905b88d32a86511219585eae6afda23dfbd (diff) | |
download | ffmpeg-streaming-94eb5505ad7b061e17e1c338f04bec0d05e10ca0.zip ffmpeg-streaming-94eb5505ad7b061e17e1c338f04bec0d05e10ca0.tar.gz |
ffprobe: remove usage of deprecation warning removal pragmas
Fixes compilation in non Windows targets.
Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'fftools/ffprobe.c')
-rw-r--r-- | fftools/ffprobe.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/fftools/ffprobe.c b/fftools/ffprobe.c index fc3a14a..967adbe 100644 --- a/fftools/ffprobe.c +++ b/fftools/ffprobe.c @@ -2915,10 +2915,8 @@ 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 -FF_DISABLE_DEPRECATION_WARNINGS ist->dec_ctx->coded_width = stream->codec->coded_width; ist->dec_ctx->coded_height = stream->codec->coded_height; -FF_ENABLE_DEPRECATION_WARNINGS #endif if (avcodec_open2(ist->dec_ctx, codec, &opts) < 0) { |