commit a75d6408e8687bccdbc52d5d823b414d7b83f097
parent eb641531db74270d9dcb9c64ca62e700852062de
Author: Alexander Kojevnikov <alexander@kojevnikov.com>
Date: Mon, 11 Feb 2013 10:07:51 -0800
Tidy
Diffstat:
4 files changed, 4 insertions(+), 5 deletions(-)
diff --git a/README.md b/README.md
@@ -61,4 +61,4 @@ Unix packages:
### Dependencies
* wxWidgets >= 2.8
- * FFmpeg >= 0.7 or libav >= 0.8
+ * A recent version of FFmpeg or libav
diff --git a/configure.ac b/configure.ac
@@ -6,7 +6,7 @@ AM_SILENT_RULES([yes])
AC_LANG([C++])
AC_PROG_CXX([clang++ g++])
-CXXFLAGS="$CXXFLAGS -std=gnu++11"
+CXXFLAGS="$CXXFLAGS -std=c++11"
AC_PROG_CXXCPP
AC_PROG_RANLIB
AC_PROG_INSTALL
diff --git a/dist/win/README.md b/dist/win/README.md
@@ -6,8 +6,7 @@ This is done in two steps:
* Building the MSI package under Windows.
For the first step you can use any Unix-y environment. Set up
-[MXE](http://mxe.cc/#tutorial), you can use the code from
-[this repository](https://github.com/alexkay/mxe/tree/spek) or the official one.
+[MXE](http://mxe.cc/#tutorial).
Build Spek dependencies:
diff --git a/src/spek-audio.cc b/src/spek-audio.cc
@@ -235,7 +235,7 @@ void spek_audio_close(struct spek_audio_context *cx)
av_free_packet(&cx->packet);
}
if (cx->properties.buffer) {
- av_free(cx->properties.buffer);
+ av_freep(&cx->properties.buffer);
}
if (cx->codec_context != NULL) {
avcodec_close(cx->codec_context);