mirror of
https://github.com/alexkay/spek.git
synced 2025-06-17 07:41:24 +03:00
Tidy
This commit is contained in:
parent
eb641531db
commit
a75d6408e8
@ -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
|
||||||
|
@ -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
3
dist/win/README.md
vendored
@ -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:
|
||||||
|
|
||||||
|
@ -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);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user