Discussion:
mp4file.cpp exception output in terminal
Julian Orth
2012-12-29 13:20:04 UTC
Permalink
I have a broken mp4 file that causes an exception in mp4file.cpp when
I try to add it to the library.
See the attached screenshot or Loading Image...
See http://code.google.com/p/mp4v2/source/browse/trunk/src/mp4file.cpp?r=491#746

Is it possible to hide this output? 2> /dev/null does not work.
Gregory Petrosyan
2012-12-29 13:28:09 UTC
Permalink
Post by Julian Orth
I have a broken mp4 file that causes an exception in mp4file.cpp when
I try to add it to the library.
See the attached screenshot or http://i.imgur.com/DaBlj.png
See http://code.google.com/p/mp4v2/source/browse/trunk/src/mp4file.cpp?r=491#746
Is it possible to hide this output? 2> /dev/null does not work.
I've implemented a workaround for similar issue in libcue:

https://github.com/cmus/cmus/blob/master/cue_utils.c#L29

It can be made a macro and used in other places as well.

Gregory

Loading...