diff options
author | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2021-05-15 08:51:11 +0200 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2021-06-08 12:52:50 +0200 |
commit | d29541c90aaa2e16d25411ba73f96576da99e0e1 (patch) | |
tree | a6ed594bfd9d271735569908234546f0125ba061 /libavfilter/vf_noise.c | |
parent | 3a5412b39eeb2f7af66acc985b55ccdb8bb9a953 (diff) | |
download | ffmpeg-d29541c90aaa2e16d25411ba73f96576da99e0e1.tar.gz |
fftools/ffprobe: Remove redundant check before avcodec_free_context()
Besides being unnecessary it is also safer: If the error for an
unrecognized option were triggered (which seems to be impossible right
now), it might be that the stream whose codecpar is accessed is NULL.
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavfilter/vf_noise.c')
0 files changed, 0 insertions, 0 deletions