fixed a bug in multimed.c

there was a bug that Ad Holten fixed in the past, but unfortunately it propagated to openptv-python (that's the main reason we shall do serious work on liboptv)