This commit is contained in:
Alexander Kojevnikov 2013-02-11 10:07:51 -08:00
parent eb641531db
commit a75d6408e8
4 changed files with 4 additions and 5 deletions

View File

@ -61,4 +61,4 @@ Unix packages:
### Dependencies ### Dependencies
* wxWidgets >= 2.8 * wxWidgets >= 2.8
* FFmpeg >= 0.7 or libav >= 0.8 * A recent version of FFmpeg or libav

View File

@ -6,7 +6,7 @@ AM_SILENT_RULES([yes])
AC_LANG([C++]) AC_LANG([C++])
AC_PROG_CXX([clang++ g++]) AC_PROG_CXX([clang++ g++])
CXXFLAGS="$CXXFLAGS -std=gnu++11" CXXFLAGS="$CXXFLAGS -std=c++11"
AC_PROG_CXXCPP AC_PROG_CXXCPP
AC_PROG_RANLIB AC_PROG_RANLIB
AC_PROG_INSTALL AC_PROG_INSTALL

3
dist/win/README.md vendored
View File

@ -6,8 +6,7 @@ This is done in two steps:
* Building the MSI package under Windows. * Building the MSI package under Windows.
For the first step you can use any Unix-y environment. Set up For the first step you can use any Unix-y environment. Set up
[MXE](http://mxe.cc/#tutorial), you can use the code from [MXE](http://mxe.cc/#tutorial).
[this repository](https://github.com/alexkay/mxe/tree/spek) or the official one.
Build Spek dependencies: Build Spek dependencies:

View File

@ -235,7 +235,7 @@ void spek_audio_close(struct spek_audio_context *cx)
av_free_packet(&cx->packet); av_free_packet(&cx->packet);
} }
if (cx->properties.buffer) { if (cx->properties.buffer) {
av_free(cx->properties.buffer); av_freep(&cx->properties.buffer);
} }
if (cx->codec_context != NULL) { if (cx->codec_context != NULL) {
avcodec_close(cx->codec_context); avcodec_close(cx->codec_context);