avformat/tee: add forgotten ret assignment

Fixes CID991840
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>