[FFmpeg-devel] avformat/dss: Remove superfluous headers

Submitted by Andreas Rheinhardt on Oct. 26, 2019, 4:59 a.m.

Details

Message ID 20191026045957.3701-1-andreas.rheinhardt@gmail.com
State New
Headers show

Commit Message

Andreas Rheinhardt Oct. 26, 2019, 4:59 a.m.
Both attributes.h and bswap.h have been included from the very beginning
of this muxer without there being any reason to do so.

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
---
The earlier mail claimed this to be about avformat/ass. Sorry.

 libavformat/dss.c | 2 --
 1 file changed, 2 deletions(-)

Comments

Michael Niedermayer Oct. 29, 2019, 1:45 p.m.
On Sat, Oct 26, 2019 at 06:59:57AM +0200, Andreas Rheinhardt wrote:
> Both attributes.h and bswap.h have been included from the very beginning
> of this muxer without there being any reason to do so.
> 
> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
> ---
> The earlier mail claimed this to be about avformat/ass. Sorry.

will apply

thx

[...]

Patch hide | download patch | download mbox

diff --git a/libavformat/dss.c b/libavformat/dss.c
index e5b0be9deb..d7f9cafe47 100644
--- a/libavformat/dss.c
+++ b/libavformat/dss.c
@@ -19,8 +19,6 @@ 
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  */
 
-#include "libavutil/attributes.h"
-#include "libavutil/bswap.h"
 #include "libavutil/channel_layout.h"
 #include "libavutil/intreadwrite.h"