Skip to content

Commit

Permalink
add missing config.test files for swr
Browse files Browse the repository at this point in the history
  • Loading branch information
wang-bin committed Jun 24, 2013
1 parent 8ab2dcd commit 08fe884
Show file tree
Hide file tree
Showing 2 changed files with 37 additions and 0 deletions.
26 changes: 26 additions & 0 deletions config.tests/swresample/main.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
/******************************************************************************
QtAV: Media play library based on Qt and FFmpeg
Copyright (C) 2013 Wang Bin <[email protected]>
* This file is part of QtAV
This library 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.
This library 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 this library; if not, write to the Free Software
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
******************************************************************************/
#include <libswresample/swresample.h>

int main()
{
return 0;
}
11 changes: 11 additions & 0 deletions config.tests/swresample/swresample.pro
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
CONFIG -= qt
CONFIG += console
DEFINES += __STDC_CONSTANT_MACROS
*msvc* {
#link FFmpeg and portaudio which are built by gcc need /SAFESEH:NO
QMAKE_LFLAGS += /SAFESEH:NO
INCLUDEPATH += ../../src/compat/msvc
}
SOURCES += main.cpp

LIBS += -lswresample

0 comments on commit 08fe884

Please sign in to comment.