aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2022-08-28 14:13:22 +0200
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2022-09-02 11:55:21 +0200
commit6713554271f19c95ed0745cbdb9e7eb294337c08 (patch)
tree8ba47546c48065928d0fcfdac8109912f3d46597
parent500bbd584db8c9f1944aa9c6a31eb94ac5822cd9 (diff)
downloadffmpeg-6713554271f19c95ed0745cbdb9e7eb294337c08.tar.gz
avcodec/flac: Remove unnecessary FLACSTREAMINFO define
Possible since 38f5a266eed1160e87da8e832a0a07818d7673cb. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
-rw-r--r--libavcodec/flac.h11
1 files changed, 4 insertions, 7 deletions
diff --git a/libavcodec/flac.h b/libavcodec/flac.h
index cb220ab4c0..315df492a3 100644
--- a/libavcodec/flac.h
+++ b/libavcodec/flac.h
@@ -69,14 +69,11 @@ enum FLACExtradataFormat {
* Data needed from the Streaminfo header for use by the raw FLAC demuxer
* and/or the FLAC decoder.
*/
-#define FLACSTREAMINFO \
- FLACCOMMONINFO \
- int max_blocksize; /**< maximum block size, in samples */\
- int max_framesize; /**< maximum frame size, in bytes */\
- int64_t samples; /**< total number of samples */\
-
typedef struct FLACStreaminfo {
- FLACSTREAMINFO
+ FLACCOMMONINFO
+ int max_blocksize; /**< maximum block size, in samples */
+ int max_framesize; /**< maximum frame size, in bytes */
+ int64_t samples; /**< total number of samples */
} FLACStreaminfo;
typedef struct FLACFrameInfo {