[FFmpeg-cvslog] dca: Remove separate header for DCA ExSS

Diego Biurrun git at videolan.org
Tue Feb 17 20:25:04 CET 2015


ffmpeg | branch: master | Diego Biurrun <diego at biurrun.de> | Mon Feb 16 10:43:07 2015 +0100| [f8c1719771dc4ac2e13e6bc8bf741854a30e3a86] | committer: Diego Biurrun

dca: Remove separate header for DCA ExSS

There is no point in having a separate header for a single declaration.

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

 libavcodec/dca.h      |    2 ++
 libavcodec/dca_exss.c |    1 -
 libavcodec/dca_exss.h |   28 ----------------------------
 libavcodec/dcadec.c   |    1 -
 4 files changed, 2 insertions(+), 30 deletions(-)

diff --git a/libavcodec/dca.h b/libavcodec/dca.h
index e2f5777..e3ec5ca 100644
--- a/libavcodec/dca.h
+++ b/libavcodec/dca.h
@@ -194,4 +194,6 @@ extern av_export const uint32_t avpriv_dca_sample_rates[16];
 int ff_dca_convert_bitstream(const uint8_t *src, int src_size, uint8_t *dst,
                              int max_size);
 
+void ff_dca_exss_parse_header(DCAContext *s);
+
 #endif /* AVCODEC_DCA_H */
diff --git a/libavcodec/dca_exss.c b/libavcodec/dca_exss.c
index d66e180..0f022e4 100644
--- a/libavcodec/dca_exss.c
+++ b/libavcodec/dca_exss.c
@@ -22,7 +22,6 @@
 #include "libavutil/log.h"
 
 #include "dca.h"
-#include "dca_exss.h"
 #include "get_bits.h"
 
 /* extensions that reside in core substream */
diff --git a/libavcodec/dca_exss.h b/libavcodec/dca_exss.h
deleted file mode 100644
index e4570df..0000000
--- a/libavcodec/dca_exss.h
+++ /dev/null
@@ -1,28 +0,0 @@
-/*
- * DCA ExSS extension
- *
- * This file is part of Libav.
- *
- * Libav is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Lesser General Public
- * License as published by the Free Software Foundation; either
- * version 2.1 of the License, or (at your option) any later version.
- *
- * Libav is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with Libav; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
- */
-
-#ifndef AVCODEC_DCA_EXSS_H
-#define AVCODEC_DCA_EXSS_H
-
-#include "dca.h"
-
-void ff_dca_exss_parse_header(DCAContext *s);
-
-#endif /* AVCODEC_DCA_EXSS_H */
diff --git a/libavcodec/dcadec.c b/libavcodec/dcadec.c
index 6b3a7a5..ad111c3 100644
--- a/libavcodec/dcadec.c
+++ b/libavcodec/dcadec.c
@@ -40,7 +40,6 @@
 #include "dcadata.h"
 #include "dcadsp.h"
 #include "dcahuff.h"
-#include "dca_exss.h"
 #include "fft.h"
 #include "fmtconvert.h"
 #include "get_bits.h"



More information about the ffmpeg-cvslog mailing list