[FFmpeg-cvslog] avcodec/truehd_core_bsf: Remove unused AVClass pointer

Andreas Rheinhardt git at videolan.org
Sun Apr 19 20:29:17 EEST 2020


ffmpeg | branch: master | Andreas Rheinhardt <andreas.rheinhardt at gmail.com> | Sat Apr 18 02:45:02 2020 +0200| [4bbf2a240fb5b59eaa8aef09514a96f4395c155d] | committer: Andreas Rheinhardt

avcodec/truehd_core_bsf: Remove unused AVClass pointer

The context structure of the truehd_core bsf had a pointer to a const
AVClass as its first member; yet this bsf does not have any AVClass
associated with it, so that this pointer is always NULL. So remove it.

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at gmail.com>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=4bbf2a240fb5b59eaa8aef09514a96f4395c155d
---

 libavcodec/truehd_core_bsf.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/libavcodec/truehd_core_bsf.c b/libavcodec/truehd_core_bsf.c
index dbd05b34ca..dfe291d9e9 100644
--- a/libavcodec/truehd_core_bsf.c
+++ b/libavcodec/truehd_core_bsf.c
@@ -31,8 +31,6 @@ typedef struct AccessUnit {
 } AccessUnit;
 
 typedef struct TrueHDCoreContext {
-    const AVClass *class;
-
     MLPHeaderInfo hdr;
 } TrueHDCoreContext;
 



More information about the ffmpeg-cvslog mailing list