Menu

#95 supurious newline char on stdout from faad2 screws up audio

closed-fixed
nobody
None
5
2006-05-07
2005-12-08
Anonymous
No

An extra newline character is generated by faad2 on
stdout, which messes up audio when the -w flag is used.
This character should be sent to stderr, after which
-w works as expected.

Here's my patch for faad2-2.0nb3:

--- frontend/main.c.orig 2005-12-07
20:34:20.000000000 -0800
+++ frontend/main.c 2005-12-07 20:34:28.000000000 -0800
@@ -832,7 +832,7 @@
}
}
}
- if (j > 0) printf("\n");
+ if (j > 0) fprintf(stderr, "\n");
#endif
}

(I've also submitted it to NetBSD's pkgsrc tree.)

-- Parag Patel <parag@codegen.com>

Discussion

  • menno

    menno - 2006-05-07

    Logged In: YES
    user_id=1853

    Fixed in cvs

     
  • menno

    menno - 2006-05-07
    • status: open --> open-fixed
     
  • menno

    menno - 2006-05-07
    • status: open-fixed --> closed-fixed
     

Log in to post a comment.