diff options
author | Thierry N <thierryn1 at hispeed dot ch> | 2009-08-10 21:22:23 +0200 |
---|---|---|
committer | Thierry N <thierryn1 at hispeed dot ch> | 2009-08-10 21:22:23 +0200 |
commit | 5c3261d6e3781d0a3946a5ccdb752122167c09d2 (patch) | |
tree | 168f271fdb99de12fa5702f3b5b4baa27fff9688 /extra/faad2/faad2-2.6.1-broken-pipe.patch | |
parent | bf75aa7776bdbad21abdf3fff6cf6b1ce220c265 (diff) | |
download | nutyx-pakxe-5c3261d6e3781d0a3946a5ccdb752122167c09d2.tar.gz nutyx-pakxe-5c3261d6e3781d0a3946a5ccdb752122167c09d2.tar.bz2 nutyx-pakxe-5c3261d6e3781d0a3946a5ccdb752122167c09d2.tar.xz nutyx-pakxe-5c3261d6e3781d0a3946a5ccdb752122167c09d2.zip |
Ajout de faad2#2.6.1-1
Diffstat (limited to 'extra/faad2/faad2-2.6.1-broken-pipe.patch')
-rw-r--r-- | extra/faad2/faad2-2.6.1-broken-pipe.patch | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/extra/faad2/faad2-2.6.1-broken-pipe.patch b/extra/faad2/faad2-2.6.1-broken-pipe.patch new file mode 100644 index 000000000..0b356c92d --- /dev/null +++ b/extra/faad2/faad2-2.6.1-broken-pipe.patch @@ -0,0 +1,23 @@ +--- faad2/frontend/main.c~ 2007-11-01 06:33:29.000000000 -0600 ++++ faad2/frontend/main.c 2008-01-03 18:05:10.000000000 -0700 +@@ -640,7 +640,8 @@ + + if ((frameInfo.error == 0) && (frameInfo.samples > 0) && (!adts_out)) + { +- write_audio_file(aufile, sample_buffer, frameInfo.samples, 0); ++ if (write_audio_file(aufile, sample_buffer, frameInfo.samples, 0) == 0) ++ break; + } + + /* fill buffer */ +@@ -976,7 +977,8 @@ + + if ((frameInfo.error == 0) && (sample_count > 0) && (!adts_out)) + { +- write_audio_file(aufile, sample_buffer, sample_count, delay); ++ if (write_audio_file(aufile, sample_buffer, sample_count, delay) == 0) ++ break; + } + + if (frameInfo.error > 0) + |