summaryrefslogtreecommitdiffstats
path: root/libhb/common.c
diff options
context:
space:
mode:
authorjstebbins <[email protected]>2011-01-17 18:57:16 +0000
committerjstebbins <[email protected]>2011-01-17 18:57:16 +0000
commitcc8b3643ceb7da7bb82af0722aa33c5f7d2c02a2 (patch)
tree98efa6af26889560d5f7b739673e2be569639715 /libhb/common.c
parent95c87ada9f0cd75956fd9a7b9b2bd1978d5ed1da (diff)
fix ffmpeg multiple audio decode issue
we can now have one ffmpeg audio input track fan out to multiple output tracks. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3753 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'libhb/common.c')
-rw-r--r--libhb/common.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/libhb/common.c b/libhb/common.c
index f1926e9dd..6b1d830a3 100644
--- a/libhb/common.c
+++ b/libhb/common.c
@@ -1051,6 +1051,10 @@ void hb_title_close( hb_title_t ** _t )
while( ( audio = hb_list_item( t->list_audio, 0 ) ) )
{
+ if ( audio->priv.ff_audio_list != NULL )
+ {
+ hb_list_close( &audio->priv.ff_audio_list );
+ }
hb_list_rem( t->list_audio, audio );
free( audio );
}