Court affirms journalist's prison sentence