[FFmpeg-cvslog] avcodec/flac: Remove unnecessary FLACSTREAMINFO define

Andreas Rheinhardt git at videolan.org
Fri Sep 2 12:59:54 EEST 2022


ffmpeg | branch: master | Andreas Rheinhardt <andreas.rheinhardt at outlook.com> | Sun Aug 28 14:13:22 2022 +0200| [6713554271f19c95ed0745cbdb9e7eb294337c08] | committer: Andreas Rheinhardt

avcodec/flac: Remove unnecessary FLACSTREAMINFO define

Possible since 38f5a266eed1160e87da8e832a0a07818d7673cb.

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

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

 libavcodec/flac.h | 11 ++++-------
 1 file 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 {



More information about the ffmpeg-cvslog mailing list