avformat/udp: dont mix integers with pointers