]> git.sesse.net Git - ffmpeg/commit
avcodec/bsf: Simplify getting codec name
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>
Fri, 2 Apr 2021 13:21:51 +0000 (15:21 +0200)
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>
Tue, 6 Apr 2021 01:20:59 +0000 (03:20 +0200)
commit3e16d1c8a63f68b882acab980b2ecc7ce7cc14f6
tree802332633e609c94457ac8c6de374578af44ccef
parent0f6a3405e8987ad761a2d9139fdc95bbb6a61118
avcodec/bsf: Simplify getting codec name

All codec ids on BSF whitelists have a codec descriptor, so one can just
use avcodec_get_name() without worrying about the case of what happens
when no codec descriptor is found.

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
libavcodec/bsf.c