[FFmpeg-devel] [PATCH 02/10] crystalhd: Switch to new decode API and remove the insanity

Nicolas George george at nsup.org
Thu Oct 27 19:48:42 EEST 2016

Le sextidi 6 brumaire, an CCXXV, Philip Langdale a écrit :
> the library spams stdout (which sucks, but what can you do)

First step, look if there is a clean way of fixing it from the outside.
Maybe by setting a logging callback? You probably already did that.

Second step, if there is no clean way of fixing it from the outside:
make a bug report. You probably already did it too.

Third step, waiting for the bug to be fixed, and that maybe you did not
think of because it is ugly:

	saved_stdin = dup(1);
	dup2(2, 1);
	dup2(saved_stdin, 1);


  Nicolas George
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20161027/4ad83b88/attachment.sig>

More information about the ffmpeg-devel mailing list