]> git.sesse.net Git - ffmpeg/commitdiff
avcodec/truehd_core_bsf: Remove unused AVClass pointer
authorAndreas Rheinhardt <andreas.rheinhardt@gmail.com>
Sat, 18 Apr 2020 00:45:02 +0000 (02:45 +0200)
committerAndreas Rheinhardt <andreas.rheinhardt@gmail.com>
Sun, 19 Apr 2020 17:20:03 +0000 (19:20 +0200)
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@gmail.com>
libavcodec/truehd_core_bsf.c

index dbd05b34cae12b82458141bdd8bfcdf455e2bfbd..dfe291d9e9bdc484c4af4f01a0cdd13e7d997b17 100644 (file)
@@ -31,8 +31,6 @@ typedef struct AccessUnit {
 } AccessUnit;
 
 typedef struct TrueHDCoreContext {
-    const AVClass *class;
-
     MLPHeaderInfo hdr;
 } TrueHDCoreContext;