- Unbundle ffmpeg and use the distfile from multimedia/ffmpeg (currently on version 2.7.2) - Fix edge case assertion in av_free on 9.x/i386 upon stream close with mencoder (no change in behaviour) - Include LICENSE_FILE - Pet portlint
15 lines
347 B
C
15 lines
347 B
C
--- libao2/ao_arts.c.orig 2010-02-20 21:02:49 UTC
|
|
+++ libao2/ao_arts.c
|
|
@@ -116,8 +116,10 @@ static int init(int rate_hz, int channel
|
|
|
|
static void uninit(int immed)
|
|
{
|
|
- arts_close_stream(stream);
|
|
- arts_free();
|
|
+ if (stream != NULL) {
|
|
+ arts_close_stream(stream);
|
|
+ stream = NULL;
|
|
+ }
|
|
}
|
|
|
|
static int play(void* data,int len,int flags)
|